Answers for "git branch change remote"

1

git bash upstream branch change

git branch --set-upstream-to=origin/branch
Posted by: Guest on March-10-2020
2

git replace local branch with remote

git fetch
git reset --hard origin/{{branch}}
# replace {{branch}} with name
Posted by: Guest on December-06-2020
0

git branch change remote

git branch branch_name -u your_new_remote/branch_name
Posted by: Guest on August-16-2021
0

git bash upstream branch change

git config --edit
Posted by: Guest on March-10-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language