What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-28 05:11:01
Create new 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 -
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
Styne666
+5
Beatriz LO
+5
Matt McGuire
+5
Stacey
+5
Dan Aloni
+5
Mostafa 36a2
+5
MBaas
+5
RiCo
+5
Binarus
+5
Srihari
+5
Khrustzh
+5
Siranush A
+5
C.B
+5
Newby
+5
Youssef
+5
Ron Short
+5
Cat812
+5
Alkasm
+5
Alexvoda
+5