This repository has been archived by the owner on Sep 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 536
gitignore not working #1219
Open
CalinR opened this issue
Sep 12, 2019
· 3 comments
· Fixed by gleich/texsch#5, fhs/gig#2, b4nst/turbogit#26, phamdt/adminiutiae#7 or jlucktay/stack#113
Open
gitignore not working #1219
CalinR opened this issue
Sep 12, 2019
· 3 comments
· Fixed by gleich/texsch#5, fhs/gig#2, b4nst/turbogit#26, phamdt/adminiutiae#7 or jlucktay/stack#113
Comments
AFAIK gitignore is only used for Line 143 in 25e9f61
It would be nice to have this functionality baked in |
I'm facing the same problem, using this lib to make changes on multiple git repo and it sometimes using the gitignore file in the root and sometimes not and pushing 500+ extra files, which is really annoying. |
Hi @jfontan , any good workaround for this? |
mcuadros
added a commit
to go-git/go-git
that referenced
this issue
Jun 13, 2020
feat: add file with using .gitignore, fixed src-d/go-git#1219
This was referenced Oct 9, 2020
This was referenced Oct 12, 2020
This was referenced Oct 12, 2020
This was referenced Mar 27, 2021
Merged
Closed
This was referenced Mar 30, 2021
This was referenced May 22, 2021
This was referenced May 24, 2021
Closed
This was referenced May 25, 2021
This was referenced May 25, 2021
Closed
traidare
pushed a commit
to traidare/go-git
that referenced
this issue
Oct 26, 2024
feat: add file with using .gitignore, fixed src-d/go-git#1219
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey all, I've been trying to get a gitignore to work with this package and I cant seem to get it to work. The gitignore is in the root of the repository.
I'm doing the following. Am I missing something?
I've debugged the worktree status file, and
diffStagingWithWorktree
seems to be ignoring files properly when I run thew.Add
method. But when I run commit, it commits all files that should have been ignored.Any help would be greatly appreciated! Thanks in advance!
The text was updated successfully, but these errors were encountered: