Merge branch 'notnull' of AnarchyPlanet/dox into master
This commit is contained in:
commit
2af6187046
22
org/git.org
Normal file
22
org/git.org
Normal 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>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user