Re: use gitignore implementation in shell bash
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 18, 2013, 16:59 UTC
- Message-ID
- <7vhagv5p86.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CA+=RcCrAnNoFbu1VGnFLpubOkss1VyyfdumJiVcJ0G0z+tB6sQ@mail.gmail.com>
László Lajos Jánszky <laszlo.janszky@gmail.com> writes:
> There is a git extension called git ftp, written by René: > https://github.com/resmo in bash. This extension uses git to push only > the changed files to the ftp server. Currently this extension uses > grep to decide which file is ignored by upload.
Two possibilities that come to mind are the "git ls-files" (read the doc and find the option to have it read .gitignore file) command, and the "git check-ignore" command.