Add a couple of git aliases
authorSteve Youngs <steve@steveyoungs.com>
Fri, 21 May 2021 06:23:54 +0000 (16:23 +1000)
committerSteve Youngs <steve@steveyoungs.com>
Fri, 21 May 2021 06:23:54 +0000 (16:23 +1000)
Signed-off-by: Steve Youngs <steve@steveyoungs.com>
etc/pkgusr/gitconfig

index 9fb001f..fcb39f9 100644 (file)
        Emm = merge --edit -S --no-ff --log -m
        mirror = push origin master
        tagpush = push --tags origin master
+       mmirror = push origin main
+       mtagpush = push --tags origin main
        alias = config --get-regexp ^alias
        co = checkout
        cb = switch
        nb = switch -c
        nt = switch -t origin/master -c
+       mnt = switch -t origin/main -c
        cob = switch -c
        bi = bisect
        rbi = rebase -i