diff --git a/home/base/server/git.nix b/home/base/server/git.nix index 146924b7..a307e7e3 100644 --- a/home/base/server/git.nix +++ b/home/base/server/git.nix @@ -68,11 +68,11 @@ st = "status"; ls = "log --pretty=format:\"%C(yellow)%h%Cred%d\\\\ %Creset%s%Cblue\\\\ [%cn]\" --decorate"; ll = "log --pretty=format:\"%C(yellow)%h%Cred%d\\\\ %Creset%s%Cblue\\\\ [%cn]\" --decorate --numstat"; - cm = "commit -m"; - ca = "commit -am"; + cm = "commit -m"; # commit via `git cm ` + ca = "commit -am"; # commit all changes via `git ca ` dc = "diff --cached"; - amend = "commit --amend -m"; - unstage = "reset HEAD --"; + amend = "commit --amend -m"; # amend commit message via `git amend ` + unstage = "reset HEAD --"; # unstage file via `git unstage ` # aliases for submodule update = "submodule update --init --recursive";