What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-02-17 18:05:12
how to delete local master branch in git
$ git remote -v # View current remotes > origin https://github.com/OWNER/REPOSITORY.git (fetch) > origin https://github.com/OWNER/REPOSITORY.git (push) > destination https://github.com/FORKER/REPOSITORY.git (fetch) > destination https://gi... Add solution -
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-11-11 02:25:21
rm remote git
$ git remote -v # View current remotes > origin https://github.com/OWNER/REPOSITORY.git (fetch) > origin https://github.com/OWNER/REPOSITORY.git (push) > destination https://github.com/FORKER/REPOSITORY.git (fetch) > destination https://gi... 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-09 13:23:01
remobve git remote
$ git remote -v # View current remotes > origin https://github.com/OWNER/REPOSITORY.git (fetch) > origin https://github.com/OWNER/REPOSITORY.git (push) > destination https://github.com/FORKER/REPOSITORY.git (fetch) > destination https://gi... Add solution -
Shell/Bash 2021-08-28 03:24:02
git remove remote
$ git remote -v # View current remotes > origin https://github.com/OWNER/REPOSITORY.git (fetch) > origin https://github.com/OWNER/REPOSITORY.git (push) > destination https://github.com/FORKER/REPOSITORY.git (fetch) > destination https://gi... Add solution