icm/gitaliases.gitconfig

13 lines
441 B
Plaintext

# Add this to your .git/config file
#[include]
# path = ../gitaliases.gitconfig
[alias]
um = "!git checkout main && git pull && git checkout - "
resync = "! git um && git rebase -"
out-of-sync = branch --no-merged main --no-contains main # Thee branch derive from an old main
open = branch --no-merged main --contains main
integ = "! git resync && git checkout main && git merge --no-ff - "
icm = "! echo 'ok'"