Cleanup git aliases

This commit is contained in:
Dave Gallant
2021-09-02 08:42:41 -04:00
parent 16aa052407
commit 55da858c3f

View File

@@ -38,23 +38,17 @@ in
aliases = { aliases = {
"aa" = "add -A ."; "aa" = "add -A .";
"br" = "branch"; "br" = "branch";
"c" = "commit -S";
"ca" = "commit -S --amend"; "ca" = "commit -S --amend";
"cb" = "checkout -b"; "cb" = "checkout -b";
"ci" = "commit";
"cm" = "commit -m";
"co" = "checkout"; "co" = "checkout";
"cs" = "commit -S"; "d" = "diff";
"csm" = "commit -S -m"; "dc" = "diff --cached";
"csa" = "commit -S --amend"; "dcn" = "diff --cached --name-only";
"deleted" = "log --diff-filter=D --summary"; "ds" = "! git diff origin | sed -r 's/.*value:.*\"(.*)\"/\tvalue:\"************\"/'";
"di" = "diff";
"dic" = "diff --cached";
"dicn" = "diff --cached --name-only";
"din" = "diff --name-only";
"l" = "l" =
"log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"; "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
"ms" = "merge --squash"; "ms" = "merge --squash";
"pb" = "pull --rebase";
"po" = "push origin"; "po" = "push origin";
"por" = "push origin HEAD:refs/for/$1"; "por" = "push origin HEAD:refs/for/$1";
"st" = "status"; "st" = "status";
@@ -265,7 +259,6 @@ in
set -g mouse on set -g mouse on
# Length of tmux status line
set -g status-left-length 30 set -g status-left-length 30
set -g status-right-length 150 set -g status-right-length 150
@@ -277,7 +270,6 @@ in
set -q -g utf8 on set -q -g utf8 on
# activity
set -g monitor-activity on set -g monitor-activity on
set -g visual-activity off set -g visual-activity off