User Tools

Site Tools


software:git

This is an old revision of the document!


Git

Git is a distributed content tracking and revision history tool that allows developers and creatives alike to track the changes made in their projects over time.

Tips

Pull commits from other branches

This is done with cherry-pick and the commit hash. Commit hashes are unique, so there's no need to remember which branch you're pulling from.

Let's say there's a commit af8b247 in some-other branch, and you want to pull it into master as well.

git cherry-pick af8b247
software/git.1635793737.txt.gz · Last modified: 2021-11-01 19:08 by zlg