Skip to content

Instantly share code, notes, and snippets.

@raarellano
Last active March 24, 2016 18:47
Show Gist options
  • Save raarellano/112f683761fc272ae74a to your computer and use it in GitHub Desktop.
Save raarellano/112f683761fc272ae74a to your computer and use it in GitHub Desktop.
Git Useful commands
Delete remote
git push origin --delete <branchName>
Pull from new remote branch
git branch --set-upstream-to=origin/branch_name
Push to new remote branch
git push --set-upstream origin branch_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment