Re:Show HN: Gut – An easy-to-use CLI for Git
by NathanOsullivan on Saturday April 01, 2023 @12:04AM
(#35396990)
Not aware of a built in way, but if you use bash or similar as your shell you can do an alias like
git config --global alias.chpull '!f() { git checkout "$1" && git pull; }; f'
- not just update `origin/branch` - not checkout `branch` and sync it with `origin/brach`
and it drives me crazy.