Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
Working Documents Deliverables (navigation) - Samvera Branch Renaming Working GroupWorking Documents
Deliverables (navigation) - Samvera Branch Renaming Working Group

...

  • install with 

    Code Block
    languagenone
    npm install -g github-default-branch


  • run with

    Code Block
    languagenone
    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 to origin/main

    From the directory for the local clone…

    Code Block
    languagenone
    git checkout master
    git pull
    git branch -m main

    NOTE: git fetch is not sufficient.  You need to use git pull for this to work.

...