Last active
November 16, 2016 09:35
-
-
Save fzrhrs/3c8e24d60272921fa455 to your computer and use it in GitHub Desktop.
Github
This file contains hidden or 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 show commithash | |
git log --author=name | |
git log --grep=word | |
(undo last commit) | |
git reset --soft HEAD~1 | |
(ammend last commit message) | |
git commit --amend -m "New commit message" | |
show what files changed in a commit | |
git show --name-only {commit} | |
git push --force origin <BRANCH-NAME> | |
reset HEAD | |
git config --global alias.unstage 'reset HEAD --' | |
last commit | |
git config --global alias.last 'log -1 HEAD' | |
amend date last commit | |
http://stackoverflow.com/questions/454734/how-can-one-change-the-timestamp-of-an-old-commit-in-git | |
http ssl verify false | |
http.sslVerify false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment