Skip to content

Instantly share code, notes, and snippets.

@varh1i
Last active December 7, 2018 13:13
Show Gist options
  • Save varh1i/937f34190c4a23641ae011cebfbe0ca8 to your computer and use it in GitHub Desktop.
Save varh1i/937f34190c4a23641ae011cebfbe0ca8 to your computer and use it in GitHub Desktop.
Delete remote branch: git push <remote_name> :<branch_name>
Rebase commits after this commit: git rebase -i <commit id>
Refresh remote branches: git remote update origin --prune
Uncommit last local commit: git reset --soft HEAD^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment