notes:git
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:git [2023/12/14 06:57] – [Git Stuff] azman | notes:git [2024/02/28 09:54] (current) – [Create/Apply Patches] azman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Git Stuff ====== | ====== Git Stuff ====== | ||
- | From [[http:// | + | From [[https:// |
//"Git is an open source, distributed version control system | //"Git is an open source, distributed version control system | ||
Some useful configurations before starting with git. I have this [[https:// | Some useful configurations before starting with git. I have this [[https:// | ||
- | |||
- | Note: Set the environment variable //VISUAL// to your favorite console editor... I use $(which vim). OR, use < | ||
===== Create, Clone, Add, Commit ===== | ===== Create, Clone, Add, Commit ===== | ||
Line 28: | Line 26: | ||
Create formatted patches (note: sha1id1..sha1id2 is the range of commits used to create patches) < | Create formatted patches (note: sha1id1..sha1id2 is the range of commits used to create patches) < | ||
To rename created patch(es) with commit timestamp < | To rename created patch(es) with commit timestamp < | ||
- | To apply the patches (stopping on error) < | + | To apply the patches (stopping on error) < |
===== Branching/ | ===== Branching/ |
notes/git.1702508263.txt.gz · Last modified: by azman