Skip to content

Commit

Permalink
All suggestions comitted #210
Browse files Browse the repository at this point in the history
  • Loading branch information
arimallick authored Mar 25, 2023
1 parent 4733787 commit e5af34c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions commands/git/git-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

`git push origin newbranch`

#### Difference between:
`git push --force`

`git push --force-with-lease`
Expand All @@ -18,9 +17,6 @@

`--force-with-lease` is a safer option that will not overwrite any work on the remote branch if more commits were added to the remote branch (by another team-member working on the same repository). It ensures you do not overwrite someone elses work by force pushing.

[Click here to see the orginial git commit on the same.](https://github.com/git/git/commit/28f5d176110d2ed768a0a49159993c7a02d8cb15)


### Demo
![git-push](https://user-images.githubusercontent.com/116898892/227696642-8d6c2cf3-366f-48d4-b1f6-bacc286f84d0.gif)

Expand Down

0 comments on commit e5af34c

Please sign in to comment.