-
-
Save pnlinh/9259d1730891ee41a8fb0cb101f204c5 to your computer and use it in GitHub Desktop.
Git Aliases
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
| [alias] | |
| a = add . | |
| aliases = config --get-regexp alias | |
| b = branch | |
| bi = bisect | |
| ci = commit -m | |
| co = checkout | |
| colast = checkout - | |
| db = branch -D | |
| laf = fsck --lost-found | |
| last = log -1 HEAD | |
| lc = diff HEAD^ HEAD | |
| nb = checkout -b | |
| pror = remote prune origin | |
| pr = pull --rebase | |
| pf = push --force-with-lease | |
| psu = push --set-upstream | |
| ra = rebase --abort | |
| rc = rebase --continue | |
| remotes = remote -v | |
| renb = branch -m | |
| rhh = reset --hard HEAD | |
| rh = reset --hard | |
| sfc = diff-tree --no-commit-id --name-only -r | |
| s = status -s | |
| stashes = stash list | |
| unstash = stash pop | |
| vc = clean -dfx | |
| refactor = commit -m "👷♀️Refactor" | |
| formatting = commit -m "💅Formatting" | |
| comments = commit -m "📒Comments" | |
| tests = commit -m "✅Tests" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment