Compare commits

...

2 Commits

Author SHA1 Message Date
fanyx 309450a926 Add autosquash to interactive rebases 2023-10-12 12:02:41 +02:00
fanyx a5066d8e67 Add fixup alias 2023-10-12 12:00:05 +02:00
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,8 @@
co = checkout co = checkout
cn = checkout -b cn = checkout -b
cm = commit -m cm = commit -m
l = log --pretty='format:%h %G? %s%d' -n20 --graph --color l = log --pretty='format:%h %G? %s%d' -n10 --graph --color
fixup = "!git log -n50 --pretty='format:%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"
tags = tag -l tags = tag -l
branches = branch -a branches = branch -a
remotes = remote -v remotes = remote -v
@ -25,5 +26,8 @@
[init] [init]
defaultBranch = main defaultBranch = main
[rebase]
autosquash = true
[credential] [credential]
helper = store helper = store