User Tools

Site Tools


code:github:repository_setup

Quick setup — if you’ve done this kind of thing before

https://github.com/MiroslavGlamuzina/__PROJECT_NAME__.git

…or create a new repository on the command line

echo "# asdfmiro.glamuzina-gmail.com" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/MiroslavGlamuzina/__PROJECT_NAME__.git
git push -u origin main

…or push an existing repository from the command line

git remote add origin https://github.com/MiroslavGlamuzina/__PROJECT_NAME__.git
git push -u origin main
 
 
## SSH VERSION 
 
git remote set-url origin git@github.com:MiroslavGlamuzina/REPO_NAME.git
git remote add origin git@github.com:MiroslavGlamuzina/REPO_NAME.git
git push -u origin main

…or import code from another repository

You can initialize this repository with code from a Subversion, Mercurial, or TFS project. See:

https://github.com/MiroslavGlamuzina/__PROJECT_NAME__/import
code/github/repository_setup.txt · Last modified: by ltsover9000