News for hackers. Stuff that matters.
Re:The missing introduction to Jujutsu version control by adastra22 on Sunday December 22, 2024 @04:51PM (#42489451)
You can edit your commit message ahead of time in git too.
Re:The missing introduction to Jujutsu version control by crabmusket on Sunday December 22, 2024 @06:17PM (#42490007)
What's your workflow like to do this?
Re:The missing introduction to Jujutsu version control by adastra22 on Sunday December 22, 2024 @07:27PM (#42490456)
I don’t do it, because I don’t find it valuable. I’m kinda confused at why patent poster wants to do this. Just pointing out that git supports it too.
Re:The missing introduction to Jujutsu version control by xorcist on Sunday December 22, 2024 @06:56PM (#42490265)
There's nothing to it, it's just "git commit".

You then add your changes and "git commit --amend".

(These could be aliases. Mine are "ci" and "ca" respectively.)

Re:The missing introduction to Jujutsu version control by adastra22 on Sunday December 22, 2024 @07:25PM (#42490445)
You can do that. But I mean there is literally a spot in the .git directory for the work-in-progress commit message. When you later do git commit -a or whatever, it pulls up the message.
Re:The missing introduction to Jujutsu version control by stavros on Sunday December 22, 2024 @08:48PM (#42490979)
Is there any way you can be specific enough for people to reproduce this?
Re:The missing introduction to Jujutsu version control by Superfud on Monday December 23, 2024 @01:02AM (#42492190)
Initial empty commit with just a message you can create with "git commit --allow-empty -m'Early commit message"

Then when you have the changes lined up you --amend that same commit.