What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-22 17:55:01
How to create a local repository and push to github repository
echo "# kiels-excel-sheets" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/kielSDeM/kiels-excel-sheets.git git push -u origin main Add solution -
Shell/Bash 2021-11-20 10:12:18
difference between git remote and git clone
echo "# repo" >> README.md git init git add README.md git commit -m "first commit" git branch -M master git remote add origin [email protected]:ameno99/repo.git git push -u origin master Add solution -
Shell/Bash 2021-11-18 03:07:18
turn a folder into a git repo
# New local repository git init git add . git commit -m "Initial commit" # New remote repository # Create remote repository (likely on github), then: git remote add origin https://github.com/username/new_repo #https git remote add origin git@gi... Add solution
Best helpers
Ranking is empty