- only do this if your branch is just based on a different version than master
- it is discouraged to do this for branches that have significant differences to master!
- see it in action: https://github.com/DrPsychick/docker-telegraf
# make sure to have your origin set correctly
# git remote set-url origin "[email protected]:DrPsychick/docker-telegraf.git"
branch="testbranch"
# checkout master from origin, skip if you already have a fresh checkout!