diff --git a/profiles/Generic/config.nix b/profiles/Generic/config.nix index 537e6bef..8f2bf4fb 100644 --- a/profiles/Generic/config.nix +++ b/profiles/Generic/config.nix @@ -47,6 +47,48 @@ LC_MESSAGE = defaultLocale; }; }; + + git = + let + defaultBranch = "main"; + in { + inherit defaultBranch; + + flow = { + mainBranch = defaultBranch; + devBranch = "dev"; + }; + + aliases = { + ahfange = "init"; + tuedezue = "add"; + beschuldig = "blame"; + zieh = "pull"; + druck = "push"; + machnah = "clone"; + hol = "fetch"; + zwiigab = "branch"; + buechiih = "commit"; + eich = "rebase"; + erd = "rebase"; + gahufwiifelde = "rebase"; + vergliich = "diff"; + tuezemme = "merge"; + versorg = "stash"; + markier = "tag"; + pflueckoepfel = "cherry-pick"; + pflueckhimbeeri = "cherry-pick"; + buechuus = "checkout"; + quaetsch = "merge --squash"; + pfudle = "push --force"; + beschuldigung = "blame"; + zwiigli = "branch"; + tagebuech = "log"; + versteck = "stash"; + zuestand = "status"; + markierig = "tag"; + }; + }; }; }; }