Skip to content

Instantly share code, notes, and snippets.

@NouranMahmoud
Last active August 29, 2015 14:07
Show Gist options
  • Save NouranMahmoud/edad55feefa4dc295eba to your computer and use it in GitHub Desktop.
Save NouranMahmoud/edad55feefa4dc295eba to your computer and use it in GitHub Desktop.
git workflow
git remote add upstream THE_SOURCE_REPO
git remote add YOUR_USER_NAME YOUR_FORK
git remote set-url origin THE_SOURCE_REPO
git remote set-url origin --push YOUR_FORK
git config --global push.default current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment