git diff
find the different between local and server.
git diff .
find the different between . and server.
git reset --hard
all the changes are lost.
git reset --hard HEAD~2
reset to previous 2 commit
git reset --hard
reset to commit-id
git pull
sync code
git branch -f
change branch
git checkout
check out
No comments:
Post a Comment
You can leave any question here and I will make a response to you ASAP. :D