diff --git a/org/git.org b/org/git.org new file mode 100644 index 0000000..6c56893 --- /dev/null +++ b/org/git.org @@ -0,0 +1,22 @@ +* Git + + 1. apt install git + 2. create repo in gogs + 3. git clone repo + 4. touch README.md + 5. git add -A + 6. git commit -m "first commit" + 7. git push origin master + + +To collaborate on an existing repo + 1. Be added as a collaborator + 2. git clone (I'll show you where to get the addy) + 3. git checkout -b + 4. make changes + 5. add commit + 6. git push origin + + + +