git
January 12, 2011 at 11:45 am | Posted in android, ubuntu | Leave a commentTags: git
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
Blog at WordPress.com.
Entries and comments feeds.