SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- git log --branches --not --remotes # Show unpushed commits
- git log origin/BRANCH_NAME..BRANCH_NAME # Show unpshed commits in selected branch
- git branch -m OLD_BRANCH NEW_BRANCH # Rename branch locally
- git push origin :OLD_BRANCH # Delete the old branch
- git push --set-upstream origin NEW_BRANCH # Push the new branch, set local branch to track the new remote
RAW Paste Data