Thursday, September 29, 2005

kernel hacker's guide to git

It's still kinda old. here is some replacements.

Update local kernel tree to latest 2.6.x upstream ("fast-forward merge")

$ git pull

Undo all local modifications:

$ git reset --hard

List all branches

$ git branch

Examine which branch is current

ditto, or

$ git show-branch --list

No comments :