Git Tricks

Know how to add changes to a previous commit? Commit only part of a changed file? Change the message of a commit 30 commits ago?

If not, check out Ryan Tomayko’s The Thing About Git. Great post, lots of advanced Git usage in there.

Update: Hey, got a trick or two of your own? Add them to the guide!

Have feedback on this post? Let @github know on Twitter.
Need help or found a bug? Contact us.



Discover new ways to build better

Try Marketplace apps free for 14 days

Learn more