mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 00:40:44 +02:00
git: add alias for fast switch to main and master branches
This commit is contained in:
parent
26b81143a7
commit
ec61fdb044
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@
|
|||
cm = commit -m
|
||||
sw = switch
|
||||
unfuck = reset HEAD~1 --soft
|
||||
main = !git switch master 2>/dev/null || git switch main
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue