Working-copy-as-a-commit - convergent thought #3335
goyalyashpal
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
woww, i am no expert in vcs, infact have used only git on 2 personal projects of 1-2 mo duration each so far.
but even in that small duration too, i reached at same conclusion. that working copy should be deal as a commit. my thought too was that it would save hassle in moments where you have to checking out the staged code (say for building some more source to commit) etc...
in stock git, it's so much of a hassle to stash but remember no to change index, then perform task, stage, commit, then stash pop --- ugh...
and today, i found it here that someone has already thought same and has implemented it too😄
niice :)
https://github.com/martinvonz/jj/blob/ac3d1a87b2d8ea234a97c97664b557e5d5197417/README.md?plain=1#L76-L80
P.S. I came here via this link https://news.ycombinator.com/item?id=34306260 via x
Beta Was this translation helpful? Give feedback.
All reactions