git:github
This is an old revision of the document!
cd <directory> git init git status On branch master ... # rename master to main git branch -m master main git status On branch main ... git add . git commit -m "init commit" git remote add origin git@github.com:mschuller/<repository>.git git pull origin main git branch -a * main remotes/origin/main git branch -r origin/main git push --set-upstream origin main git add . git status git commit -m "second commit" git push
git/github.1637881901.txt.gz · Last modified: 2023/01/11 20:30 (external edit)