logoalt Hacker News

tom_alexanderyesterday at 6:16 PM2 repliesview on HN

ooo that will be a nice improvement. So many times I've run `jj status`, then saw a file I wanted gitignored, so I'll edit my gitignore, but the file has already been added to the repo so I have to `mv <file> /tmp/ && jj status && mv /tmp/<file> .` to get the file out of the repo.


Replies

steveklabnikyesterday at 6:23 PM

You can `jj file untrack` instead of that mv bit.

show 1 reply
kpsyesterday at 6:52 PM

    [snapshot]
    auto-track = '~glob:**/*'