Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I ran into one thing with jj that I would say is pretty bad. I love it other than the way it bit me in this one case.

I have a repo with some code that generates a credential and writes the credential to a location specified in .gitignore so it isn't picked up by version control.

I used `jj edit` to roll back to a change before the credential path was added to the ignore file to make an unrelated change.

The result? jj instantly started tracking the credential and I didn't notice it before pushing to GitHub.

Fortunately I did figure it out pretty quickly, but that could have gone very poorly.

See also https://github.com/jj-vcs/jj/issues/7237.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: