>>> Sebastian Staudt schrieb am 19.07.2018 um 09:55 in
Nachricht
:
> Hello Ulrich,
>
> if you want to ignore a file in the root of the repository (and only
> there) this is the correct syntax:
>
> /foo
Hi!
Thanks, you are perfectly right: It works, and actually, when read carefully
On Thu, Jul 19 2018, Timothy Rice wrote:
>> How did you come up with this "./" syntax?
>
> It is a Unix thing: "./" or just "." refers to the current directory.
>
> When calling scripts or programs in the current directory from a Unix
> command line, it is required to refer to them as, say,
On Thu, Jul 19, 2018 at 07:06:57PM +1000, Timothy Rice wrote:
[...]
> Most people do put "." in their PATH for convenience
[...]
IMO this is a gross overstatement: personally, I know of no person using
a Unix-like operation system who does this.
> How did you come up with this "./" syntax?
It is a Unix thing: "./" or just "." refers to the current directory.
When calling scripts or programs in the current directory from a Unix
command line, it is required to refer to them as, say, "./foo" (not just
"foo") -- unless "." is in your PATH.
On Thu, Jul 19 2018, Ulrich Windl wrote:
> Hi!
>
> I have a (simple) question I could not answer elegantly from the gitignore(5)
> manual page:
>
> A project produces a "foo" binary in the root directory that I want to ignore
> (So I put "foo" into .gitignore)
> Unfortunately I found out taht
Hi!
I have a (simple) question I could not answer elegantly from the gitignore(5)
manual page:
A project produces a "foo" binary in the root directory that I want to ignore
(So I put "foo" into .gitignore)
Unfortunately I found out taht I cannot have a "script/foo" added while "foo"
is in
6 matches
Mail list logo