-- Leo's gemini proxy
-- Connecting to bbs.geminispace.org:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini; charset=utf-8
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.)
2023-07-13 ยท 10 months ago ยท ๐ StanStani, akrabu
My favorite is: `mr = git push origin HEAD` which pushes up the current branch to origin using the name of the local branch as the name of the remote branch.
Nice! I can use that to replace my more complicated `git push origin "$(git branch --show-current)"` :)
Hmm, I don't know if it counts but I have a hook that runs yarn every time I merge from main.
-- Response ended
-- Page fetched on Sun May 19 21:23:50 2024