• 0 Posts
  • 362 Comments
Joined 2 years ago
cake
Cake day: June 17th, 2023

help-circle


  • Worktrees are great. Although I use them is a different way. I only use them to allow me to rebase or cherry pick onto branches, which require a working tree to do, without ever leaving my main branch. Basically I use them as more powerful branches then full worktrees.

    Instead I just do all my work in the main branch/worktrees. When I have something I want to push to a pr I commit just that change to main. Then create a branch and work tree (I store them in .git/wt/<branch name>). Then cherry pick the commits onto that branch and push that creating a pr from it. Then go back to working on main again on top of the changes I have done. Once the pr gets merged I do a pull --rebase which drops the commits from main.

    This means I don’t need to switch directories ever and let’s me work on a feature, then do a refactor (or minor bug fix), commit and push the refactor in isolation while continuing to work on the feature on top of the refactor.












  • nous@programming.devtoTechnology@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    370
    arrow-down
    4
    ·
    7 months ago

    Yen also pointed out how such a court decision could help cut inflation in the US, too, “by dropping the price of a significant chunk of digital purchases by 30% overnight”.

    I bet most companies will just take that extra 30% as profit rather than giving it back to their users like proton has.






  • nous@programming.devtoLinux@lemmy.mlGetting used to Helix
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    1
    ·
    7 months ago

    IMO the best thing is to just start using it. You will start to pick things up fairly quickly then. Puzzles don’t often ingrain different ways todo things and often focus on weird or niche things that don’t come up as often. They can be a nice supplement to not a substitute for just using it in real world usescases.

    I do also find it helpful to read the shortcut keys on their site to get a feel for what is available. You won’t remember everything but it can be useful to know what is possible. Then when you hit a problem you may remember reading about something that can help and go look it up again.