Skip to content

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…

Author

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!

Explore more from GitHub

Company

Company

The latest on GitHub, from GitHub.
GitHub Universe 2024

GitHub Universe 2024

Get tickets to the 10th anniversary of our global developer event on AI, DevEx, and security.
GitHub Copilot

GitHub Copilot

Don't fly solo. Try 30 days for free.
Work at GitHub!

Work at GitHub!

Check out our current job openings.