diff options
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | global_gitconfig | 14 |
2 files changed, 22 insertions, 0 deletions
@@ -9,5 +9,13 @@ config stuff (i need to move everything into one place) * `$XDG_CONFIG_HOME/espanso` -> `./espanso` * `./espanso/assets` -> `<ASSET_DIR>` (asset dir is sth that syncs media) +# other config +* `~/.gitconfig` +``` +[include] + path = <repo>/global_gitconfig +``` +DO NOT SYMLINK PLEASE + # windows * run `./_windows/startup.ps1` on startup (`PowerShell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -File <PATH>`) 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 |
