User Tools

Site Tools


software:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
software:git [2021-11-01 19:08] – Add cherry-pick tip zlgsoftware:git [2023-11-06 20:31] (current) – removed zlg
Line 1: Line 1:
-====== Git ====== 
  
-[[https://git-scm.org|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. 
- 
-<code bash> 
-git cherry-pick af8b247 
-</code>