💾 Archived View for bbs.geminispace.org › u › StanStani › 3094 captured on 2023-09-28 at 19:30:14. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

➡️ Next capture (2023-11-04)

🚧 View Differences

-=-=-=-=-=-=-

Re: "Anybody have useful git aliases they would like to share?..."

Comment 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 months ago

Original Post

🌒 s/Linux

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.)

💬 bjnaved · 3 comments · 2 likes · 2023-07-13 · 3 months ago · #git