Created
March 23, 2017 11:13
-
-
Save craftfortress/2e74ae353613d7e31199289cb73a562a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============ | |
Git | |
============ | |
git status | |
git branch —all | |
git rebase -i HEAD~3 // Remove previous 3 commits | |
git push origin +master // Force push | |
git remote -v // List all remotes | |
git rm -r --cached node_modules // Untrack | |
Rename Branch | |
git branch -m feature/newBranchName // Rename | |
git push origin :oldBranchName // Delete remote branch with old name | |
git push --set-upstream origin newBranchName // Create remote branch with new name | |
============ | |
Bash | |
============ | |
prep processname | |
kill -9 7813 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment