Categories
Technical

Useful GIT merge command

How to merge see below

git merge –no-ff master

How to reset your git changes

git reset HEAD^ --soft (Save your changes, back to last commit)

git reset HEAD^ --hard (Discard changes, back to last commit)

Leave a Reply