Toot

Written by Dan 🌈 on 2024-10-04 at 08:31

Because I make changes on the wrong branch all the friggen time in #git, here is a reminder for everybody—including myself—that git stash is a thing that exists.

(wrong_branch)$ git stash

(wrong_branch)$ git checkout <correct_branch>

(correct_branch)$ git stash apply

Also, h/t k88hudson et al. for the always-useful git flight rules: https://github.com/k88hudson/git-flight-rules?tab=readme-ov-file#i-made-changes-on-the-wrong-branch

=> More informations about this toot | View the thread | More toots from phrawzty@hachyderm.io

Mentions

Tags

=> View git tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113248220233663354
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
345.674313 milliseconds
Gemini-to-HTML Time
0.822982 milliseconds

This content has been proxied by September (3851b).