diff --git a/configs/git.nix b/configs/git.nix index aecc777..ccbaee5 100644 --- a/configs/git.nix +++ b/configs/git.nix @@ -36,6 +36,7 @@ st = "status -s"; unstage = "reset HEAD --"; diffs = "diff --staged"; + pushf = "push --force-with-lease"; last = "log -1 HEAD"; logs = "log --pretty=oneline"; graph = "log --graph --abbrev-commit --decorate --date=relative --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)' --all";