git: aliase
This commit is contained in:
parent
15ff494c95
commit
9f9b1d561b
2 changed files with 14 additions and 15 deletions
|
@ -23,6 +23,8 @@ alias hibernate="i3lock -c 000000 && systemctl hibernate"
|
|||
alias shutdown="sudo shutdown --no-wall now"
|
||||
# git
|
||||
alias gsps="git stash && git pull && git stash pop"
|
||||
alias gcm="git commit -m"
|
||||
alias gdel="git add . && git stash && git stash drop"
|
||||
# typo
|
||||
alias mkae="make"
|
||||
alias amke="make"
|
||||
|
|
|
@ -5,17 +5,14 @@
|
|||
helper = store
|
||||
[alias]
|
||||
logs = log --all --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
|
||||
s = status
|
||||
c = checkout
|
||||
cm = commit -m
|
||||
d = diff
|
||||
ds = diff --staged
|
||||
r = rebase
|
||||
rc = rebase --continue
|
||||
remote = remote -v
|
||||
fetchp = fetch --prune
|
||||
cline = clone
|
||||
stagep = stage -p
|
||||
staus = status
|
||||
last = log -1 HEAD --stat
|
||||
[core]
|
||||
editor = vim
|
||||
[help]
|
||||
autocorrect = 20 # https://opensource.com/article/20/11/git-aliases
|
||||
|
|
Loading…
Reference in a new issue