Skip to content

Commit

Permalink
Update git-push.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arshadkazmi42 authored Mar 25, 2023
1 parent e5af34c commit 0473c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/git/git-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

`git push origin newbranch`

`git push --force`
`git push origin newbranch --force`

`git push --force-with-lease`
`git push newbranch --force-with-lease`

`--force` overwrites a remote branch with your local branch. <br>

Expand Down

0 comments on commit 0473c80

Please sign in to comment.