904 B
904 B
Git
- apt install git
-
(add git config stuff here)
- it would be weird if git lost track of those updates… but I probably did something stupid.
- create repo in gogs
- git clone repo
- touch README.md
- git add -A
- git commit -m "first commit"
- git push origin master
To collaborate on an existing repo
- Be added as a collaborator
- git clone <repo> (I'll show you where to get the addy)
-
git checkout -b <branchname>
-b
yocreates a new branch if one doesn't exist- you can name branch anything, start w/ your gogs name
- make changes
To push up your changes
- git checkout master
- git pull origin master
- git checkout <branchname>
- git merge master
- git add -A
- git commit -m "concise explanation of what I did"
- git push origin <yourname>
- submit a pull request