What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 10:45:02
git rename remote branch
# Rename the local branch to the new name git branch -m <old_name> <new_name> # Delete the old branch on remote - where <remote> is, for example, origin git push <remote> --delete <old_name> # Or shorter way to delete remot... Add solution -
Shell/Bash 2021-08-26 10:41:02
git checkout -f
# git checkout regarding branches switch git checkout <branch_name> # will take you to that branch git checkout -b <new_branch> # will create a new branch based on the branch you are already in # if this branch already exists then you will ... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5