Skip to content

Github Desktop | Cannot add [bob] to .gitignore #22199

Discussion options

You must be logged in to vote

Hm, I wonder if that has anything to do with you working on Windows, where the backslash can also be a directory separator? Not sure.

Maybe try using this:

resource/?bob?/

The ? matches any character other than /, if you don’t have any other directories that match (e.g. resource/abobc/) it should work.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants