From 73ef61232509647c3944163405f46837bd716c83 Mon Sep 17 00:00:00 2001 From: kkard2 Date: Fri, 14 Jul 2023 11:21:58 +0200 Subject: git aliasage --- README.md | 8 ++++++++ global_gitconfig | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 global_gitconfig diff --git a/README.md b/README.md index 4e7a206..0ae300e 100644 --- a/README.md +++ b/README.md @@ -9,5 +9,13 @@ config stuff (i need to move everything into one place) * `$XDG_CONFIG_HOME/espanso` -> `./espanso` * `./espanso/assets` -> `` (asset dir is sth that syncs media) +# other config +* `~/.gitconfig` +``` +[include] + path = /global_gitconfig +``` +DO NOT SYMLINK PLEASE + # windows * run `./_windows/startup.ps1` on startup (`PowerShell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -File `) diff --git a/global_gitconfig b/global_gitconfig new file mode 100644 index 0000000..6741a56 --- /dev/null +++ b/global_gitconfig @@ -0,0 +1,14 @@ +[fetch] + prune = true +[alias] + lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' -15 + bl = branch -v -a + st = status -sb + bd = branch -d + cb = checkout -b + check = checkout + sw = switch + cm = commit -m + al = config --get-regexp alias + pushup = push --set-upstream origin + rem = restore --staged -- cgit v1.3.1