Skip to content

Commit

Permalink
Merge 114d740 into fb5b0b4
Browse files Browse the repository at this point in the history
  • Loading branch information
leslie-qiwa committed Dec 29, 2017
2 parents fb5b0b4 + 114d740 commit 93aa537
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cheat/sheets/git.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ See everyday git examples = git help everyday
See who changed what in a file = git blame <FILENAME>
Set editor for commits = git config --global core.editor <EDITORNAME>
Set git alias = git config --global alias.co commit
Set user name = git config --global user.name <USER_NAME>
Set user email = git config --global user.email <USER_EMAIL>
Show Remote Url = git config --get remote.origin.url
Temporarily stores all modified tracked files = git stash
Undo all commits after = git reset 'commit'
Add a remote upstream repo = git remote add upstream <URL>
Sync with remote upstream repo = git pull upstream master
Append new commit to keep single commits = git commit -a --amend

0 comments on commit 93aa537

Please sign in to comment.