1
0

added org/git.org

This commit is contained in:
notnull 2019-01-26 12:24:42 -08:00
parent 7dbbae6263
commit 0a7ef1ab87

22
org/git.org Normal file
View File

@ -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 <repo> (I'll show you where to get the addy)
3. git checkout -b <your name>
4. make changes
5. add commit
6. git push origin <yourname>