Trying to learn some git. - joneworlds@mailbox.org I am trying to learn some git, so that I can participate in circumlunar pubnix projects. Here is how I learned to make a patch on a project. 1. Get all the project files. git clone git://dome.circumlunar.space/~jone/scratch.git cd scratch 2. Find out the main branch name. git branch 3. Make a new branch of your own, and switch into it git branch fix-for-part-7-bug git switch fix-for-part-7-bug 4. Edit whatever files you want. 5. Tell it about any new files you added. git add newfile.txt 6. Review what changes you did. git diff 7. Tell it about which changes you want to keep. git add -p If you made a mistake in adding, you can undo the add with git restore --staged whatever-file-name 8. Write about what you did. git commit They want a one line 50-letter summary. And after that, a longer explanation. 9. Make a patch file. git format-patch -M master..fix-for-part-7-bug "master" is what you got from step 2. "fix-for-part-7-bug" is what you put in step 3. 10. Send the patch to someone. git send-email --to=person@somewhere 0001-summary-of-fix.patch "0001-summary-of-fix.patch" is the file that got made by step 9.