What do you want to save?
Add Code snippet
New code examples
-
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