Compare commits

..

3 commits

Author SHA1 Message Date
42bd21299b make cyan 2022-12-21 14:07:51 -06:00
a24b5511a2 add more git aliases 2022-12-21 14:05:57 -06:00
a9dd2b14a1 change prompt 2022-12-21 14:05:52 -06:00
2 changed files with 13 additions and 5 deletions

View file

@ -15,20 +15,29 @@
autosetuprebase = always autosetuprebase = always
[alias] [alias]
root = rev-parse --show-toplevel root = rev-parse --show-toplevel
adog = log --all --decorate --oneline --graph adog = log --all --decorate --oneline --graph
gl = config --global -l lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold cyan)%h%C(reset) ->%C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(green)(%ar)%C(reset) %C(dim white)- %an%C(reset)'
last = log -1 HEAD --stat last = log -1 HEAD --stat
ll = log --oneline ll = log --oneline
st = status -sb st = status -sb
s = status -s s = status -s
dd = !git diff | delta dd = !git diff | delta
sd = !git show | delta sd = !git show | delta
co = checkout co = checkout
cob = checkout -b cob = checkout -b
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
undo = reset HEAD~1 --mixed
wip = !git add -A && git commit -m \"wip: $(date +\"%Y.%m.%d %H:%M:%S\")\"
cmt = !git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\" cmt = !git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\"
save = !git add -A && git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\" save = !git add -A && git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\"
# list aliases
la = "!git config -l | grep alias | cut -c 7-" la = "!git config -l | grep alias | cut -c 7-"
gl = config --global -l
[filter "lfs"] [filter "lfs"]
clean = git-lfs clean -- %f clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f smudge = git-lfs smudge -- %f

View file

@ -2,9 +2,8 @@
format = "[$user]($style) on " format = "[$user]($style) on "
[character] [character]
# success_symbol = "[-](bold green)[-](bold yellow)[>](bold cyan)" success_symbol = "[λ](bold fg:#f5e0dc)[ 🠊](bold cyan)"
success_symbol = "[>>=](bold fg:#f5e0dc)[|>](bold cyan)" error_symbol = "[λ](bold fg:red)[ !](bold red)"
error_symbol = "[>>=](bold fg:red)[!!](bold red)"
[gcloud] [gcloud]
disabled = true disabled = true