From 327a787b6ab8fa1fc0247fd7dc41c1a24d0c6f95 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Wed, 6 Nov 2024 16:52:38 +0300 Subject: [PATCH] users/jan: add git command aliases --- users/jan/git/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/users/jan/git/default.nix b/users/jan/git/default.nix index ba7894f..66cafb3 100644 --- a/users/jan/git/default.nix +++ b/users/jan/git/default.nix @@ -47,7 +47,9 @@ can = "commit --amend --no-edit"; p = "push"; + pt = "push --tags"; po = "push origin"; + pot = "push origin --tags"; pf = "push --force-with-lease"; pfo = "push --force-with-lease origin"; pl = "pull"; @@ -78,6 +80,7 @@ rlsu = "ls-remote --heads upstream"; lo = "log --pretty=oneline"; + los = "log --pretty='format:%s'"; sma = "submodule add"; smui = "submodule update --init"; @@ -89,6 +92,9 @@ sai = "stash apply --index"; sp = "stash pop"; spi = "stash pop --index"; + + t = "tag"; + tf = "tag --force"; }; }; }