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

Advertisement

TrackBack URI

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.