Re: [gitgitgadget/git] Adding git-ignore command, tests, and documentation. (#264)
- From
Thurston Stone <tstone2077@protonmail.com>
- Date
- Jul 17, 2019, 17:15 UTC
- Message-ID
- <-_9xfW9lD1t4z4qkcMoJ5Jb9gmzayauqKOPDIYIQO4dJQzc-RoVWTNOi9-OsXDzrdhVJPWoRYIa5d0zqIsHBoNzMSuw1_jauUcEaGwIairU=@protonmail.com>
- In-Reply-To
- <YmOpqT5Q4a9QdU5RJmIbisRhQMnkcZt7GFT7E0xH4cqAWr0mEiHlYzLmpI8eKSPPQDZmQRmfUzdzqxDSb-iBwYhFHtJ6edCFb8I05ld0vFM=@protonmail.com>
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 script ...
--CORRECTION--
$ git ignore file.txt