git

January 12, 2011 at 11:45 am | Posted in android, ubuntu | Leave a comment
Tags:

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

TrackBack URI

Create a free website or blog at WordPress.com.
Entries and comments feeds.