Skip to content

Instantly share code, notes, and snippets.

@nturaga
Created May 27, 2022 17:24
Show Gist options
  • Save nturaga/1e458b8cfa9be084d72e4b4ab83a837f to your computer and use it in GitHub Desktop.
Save nturaga/1e458b8cfa9be084d72e4b4ab83a837f to your computer and use it in GitHub Desktop.
git pull origin master
git pull upstream master
## Make sure devel does not already exist
git branch -d devel
## Create and push the devel branch
git checkout -b devel
git push origin devel
## make devel the default branch
## https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch
## delete the master branch
git push --delete origin master
## push until default branch is updated on git.bioconductor.org
git push upstream devel:master
git symbolic-ref refs/heads/devel refs/heads/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment