What do you want to save?
Add Code snippet
New code examples
-
-
Shell/Bash 2021-11-11 14:36:26
Common GIt Commands
git init //add all git add . //cancel adds git reset //cancel commits git reset HEAD^ //cancel last 3 commits git reset HEAD~3 //when first commit git push -u origin master //remove remote origin git remote remove origin //reset remote origin git rem... Add solution -
Shell/Bash 2021-10-12 14:04:09
git common commands
git init //add all git add . //cancel adds git reset //cancel commits git reset HEAD^ //cancel last 3 commits git reset HEAD~3 //when first commit git push -u origin master //remove remote origin git remote remove origin //reset remote origin git rem... Add solution -
Shell/Bash 2021-09-30 15:41:05
git remote push
git remote add origin <repository url> # adds a repo to your project git remote # lists all the repos of your project git config --get remote.origin.url # prints the url of a repo git push origin master # updates the master branch of yo... Add solution -
Shell/Bash 2021-09-29 04:16:03
how to remove remote origin from git repo
git remote remove origin Add solution -
Shell/Bash 2021-09-26 11:32:02
delete git config all remote url
git remote remove origin Add solution -
Shell/Bash 2021-09-01 10:42:01
how to remove a git remote origin
git remote remove origin Add solution