Skip to content

Instantly share code, notes, and snippets.

@ahmetabdi
Created June 15, 2015 07:51
Show Gist options
  • Save ahmetabdi/16f679c6da8a9b7276f4 to your computer and use it in GitHub Desktop.
Save ahmetabdi/16f679c6da8a9b7276f4 to your computer and use it in GitHub Desktop.
You can configure git to push to the current branch using the following command
git config --global push.default current
then just do
git push
this will push the code to your current branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment