Skip to content

Instantly share code, notes, and snippets.

@ry4nz
Created September 25, 2019 16:02
Show Gist options
  • Save ry4nz/50d6e011b52de5add56b5e31eaa6424d to your computer and use it in GitHub Desktop.
Save ry4nz/50d6e011b52de5add56b5e31eaa6424d to your computer and use it in GitHub Desktop.
Keep main repo clean
# Make the main repo clean of branches and use people repo.
git clone git@github.com:ry4nz/enzi.git
cd enzi
git remote add upstream git@github.com:docker/enzi.git
git fetch upstream
git checkout -b new-feature upstream/master
git commit -m "commit message"
git push origin new-feature
hub pull-request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment