Re: [gitgitgadget/git] Adding git-ignore command, tests, and documentation. (#264)

2019-07-17 Thread Thurston Stone
my mistake, my last email should have read: $ cd path/to/the ... work in that deep directory ... ... realize that file.txt in that directory needs ignoring ... ... know relative path of both desired ignore file and cwd ... $ echo path/to/the/file.txt > ../../../.gitignore ... or with this

Re: [gitgitgadget/git] Adding git-ignore command, tests, and documentation. (#264)

2019-07-17 Thread Thurston Stone
> Wouldn't this simpler to type and less error prone, as you do > have to > $ cd path/to/the > ... work in that deep > ... realize that file.txt in that directory needs ignoring ... > $ echo file.txt > .gitignore that would have "path/to/the/.gitignore" which contains "file.

[PATCH 1/1] Adding git ignore command

2019-07-16 Thread Thurston Stone via GitGitGadget
From: Thurston Stone The 'git ignore' command modifies a .gitignore file in your path easily. By default, it adds lines to the .gitignore found in the root of your repository. It can, however, add lines to a gitignore anywhere inbetween the file(s) passed in and the root of the repos