Include Page | ||||
---|---|---|---|---|
|
...
install with
Code Block language none npm install -g github-default-branch
run with
Code Block language none github-default-branch --pat <github_access_token> --repo <github_username>/branch-renaming-test
Once complete, all local clones will need to run the following to update their
master
branch to be connected toorigin/main
From the directory for the local clone…Code Block language none git checkout master git pull git branch -m main
NOTE:
git fetch
is not sufficient. You need to usegit pull
for this to work.
...