-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support unignoring files/folders in .gitignore #3031
Labels
🐛bug
Something isn't working
Comments
Looks like a bug. |
4 tasks
#3071 will fix it. //.../workspace/jj/issue_3031 ❯ git init
Initialized empty Git repository in /Users/daehyeok/workspace/jj/issue_3031/.git/
//.../workspace/jj/issue_3031 ❯ jj init --git-repo=.
warning: `--git` and `--git-repo` are deprecated.
Use `jj git init` instead
Initialized repo in "."
//.../workspace/jj/issue_3031 ❯ jj st
Working copy changes:
A .gitignore
Working copy : uqptwszk e79a4a6b (no description set)
Parent commit: zzzzzzzz 00000000 (empty) (no description set)
//.../workspace/jj/issue_3031 ❯ with PR. //.../workspace/jj/issue_3031 ❯ git init
Initialized empty Git repository in /Users/daehyeok/workspace/jj/issue_3031/.git/
//.../workspace/jj/issue_3031 ❯ ../target/debug/jj init --git-repo=.
warning: `--git` and `--git-repo` are deprecated.
Use `jj git init` instead
Initialized repo in "."
//.../workspace/jj/issue_3031 ❯ ../target/debug/jj st
Working copy changes:
A .gitignore
A test/unignore_me
Working copy : mrwntuvm ae763def (no description set)
Parent commit: zzzzzzzz 00000000 (empty) (no description set) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
jj seems to ignore
!
in.gitignore
.Steps to Reproduce the Problem
I have not tested it extensively, but this is a common use case for demonstration:
Also tested with
test/**
in.gitignore
.If it really is a jj issue it might be crucial. (I am pretty new to jj and have not followed all discussions. But I did search for similar issues.)
Expected Behavior
jj should add
test/unignore_me
in the initial revision -- like ‘pure’ git.Actual Behavior
jj ignores
test/unignore_me
.Specifications
The text was updated successfully, but these errors were encountered: