diff --git a/home.nix b/home.nix index 3eb053c..b47cd95 100644 --- a/home.nix +++ b/home.nix @@ -99,6 +99,16 @@ enable = true; userName = "Zynh Ludwig"; userEmail = "zynh0722@gmail.com"; + aliases = { + co = "checkout"; + ci = "commit"; + st = "status"; + br = "branch"; + hist = "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"; + type = "cat-file -t"; + dump = "cat-file -p"; + graph = "log --graph --decorate --pretty=oneline --abbrev-commit"; + }; extraConfig = { credential = { helper = [