added git alias that only shows branches and tags.

This commit is contained in:
Gabe Venberg 2024-04-19 16:38:41 -05:00
parent cc3d5cadee
commit e548369cae

View file

@ -28,8 +28,10 @@
programs.git = { programs.git = {
enable = true; enable = true;
aliases = { aliases = {
hist = "log --graph --date-order --date=short --pretty=format:'%C(auto)%h%d %C(reset)%s %C(bold blue)%ce %C(reset)%C(green)%cr (%cd)'"; tree = "log-long-line --graph --topo-order --all --simplify-by-decoration";
graph = "log --graph --topo-order --all --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'"; hist = "log-long-line --graph --date-order --date=short ";
graph = "log-long-line --graph --topo-order --all";
log-long-line = "log --pretty=format:'%C(auto)%h %C(cyan)%an %C(blue)%ar %C(auto)%d %s'";
recent = "branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'"; recent = "branch --sort=-committerdate --format='%(committerdate:relative)%09%(refname:short)'";
}; };
delta = { delta = {