From 0a7ef1ab870f6890bae8abc30e1e6c26694096c4 Mon Sep 17 00:00:00 2001 From: notnull Date: Sat, 26 Jan 2019 12:24:42 -0800 Subject: [PATCH] added org/git.org --- org/git.org | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 org/git.org 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 + + + +