Comment by ๐Ÿš€ StanStani

Re: "Anybody have useful git aliases they would like to share?โ€ฆ"

In: s/Linux

Hmm, I don't know if it counts but I have a hook that runs yarn every time I merge from main.

๐Ÿš€ StanStani

2023-07-13 ยท 3 years ago

Original Post

๐ŸŒ’ s/Linux

๐Ÿ•๏ธ bjnaved:

Anybody have useful git aliases they would like to share? One that really helps me that I've defined is `co = !git checkout "$(git branch -a | fzf)"`. This lets me type `git co`, pick a branch interactively from the list, which then checks out that branch. (I know if I properly set up shell completions I'd get suggested branch names by hitting tab, but the fuzzy search behavior from fzf is really nice.)

๐Ÿ’ฌ 3 comments ยท 2 likes ยท 2023-07-13 ยท 3 years ago ยท #git