Added gau alias for git add -u
This commit is contained in:
@@ -35,6 +35,7 @@ git_alias="g"
|
|||||||
git_status_shortcuts_alias="gs"
|
git_status_shortcuts_alias="gs"
|
||||||
git_add_shortcuts_alias="ga"
|
git_add_shortcuts_alias="ga"
|
||||||
git_add_patch_alias="gap"
|
git_add_patch_alias="gap"
|
||||||
|
git_add_updated_alias="gau"
|
||||||
git_show_files_alias="gsf"
|
git_show_files_alias="gsf"
|
||||||
exec_scmb_expand_args_alias="ge"
|
exec_scmb_expand_args_alias="ge"
|
||||||
# 2. Commands that handle paths (with shortcut args expanded)
|
# 2. Commands that handle paths (with shortcut args expanded)
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ if [ "$git_setup_aliases" = "yes" ]; then
|
|||||||
__git_alias "$git_diff_word_alias" "git" "diff" "--word-diff"
|
__git_alias "$git_diff_word_alias" "git" "diff" "--word-diff"
|
||||||
__git_alias "$git_diff_cached_alias" "git" "diff" "--cached"
|
__git_alias "$git_diff_cached_alias" "git" "diff" "--cached"
|
||||||
__git_alias "$git_add_patch_alias" "git" "add" "-p"
|
__git_alias "$git_add_patch_alias" "git" "add" "-p"
|
||||||
|
__git_alias "$git_add_updated_alias" "git" "add" "-u"
|
||||||
__git_alias "$git_difftool_alias" "git" "difftool"
|
__git_alias "$git_difftool_alias" "git" "difftool"
|
||||||
# Custom default format for git log
|
# Custom default format for git log
|
||||||
git_log_command="log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
|
git_log_command="log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
|
||||||
|
|||||||
Reference in New Issue
Block a user