Skip to content

Instantly share code, notes, and snippets.

@skomarfaruque
Last active January 13, 2021 18:38
Show Gist options
  • Save skomarfaruque/9b1e645ee904d3a21614e023a572aa2d to your computer and use it in GitHub Desktop.
Save skomarfaruque/9b1e645ee904d3a21614e023a572aa2d to your computer and use it in GitHub Desktop.
Delete local branch
git branch -d local_branch
Delete remote branch
git push origin --delete remote_branch
change git url
git remote set-url origin git://new.url.here
@skomarfaruque
Copy link
Author

remove a file from PR
git checkout staging -- validate_model.py
git comit and push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment