Skip to content
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

"Add to gitignore" should include "/" prefix #3162

Closed
TamaMcGlinn opened this issue Apr 6, 2016 · 2 comments
Closed

"Add to gitignore" should include "/" prefix #3162

TamaMcGlinn opened this issue Apr 6, 2016 · 2 comments
Assignees
Milestone

Comments

@TamaMcGlinn
Copy link

By default, you want to ignore specifically just that file you right-clicked in your changes; therefore, it should start with / so that it doesn't match any file or folder in your project that happens to have that name.

@vbjay
Copy link
Contributor

vbjay commented Apr 6, 2016

Not just /. / means root of working tree. If you put /myfile it will
match /myfile and not /other/myfile but what about /other2/myfile? We just
need a checkbox that alters it to generate a full path from / of working
directory.

On Wed, Apr 6, 2016 at 8:24 AM Tama McGlinn notifications@github.com
wrote:

By default, you want to ignore specifically just that file you
right-clicked in your changes; therefore, it should start with / so that it
doesn't match any file or folder in your project that happens to have that
name.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#3162

@KindDragon
Copy link
Contributor

I think it should add full path with / or only filename without path and /

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants