Re: [git-users] Gitignore add file or folder from terminal

2015-12-03 Thread Rainer M Krug
Good.

Just be sure that you use ">>" which will *append* to the file; while
">" will *overwrite* it!

Cheers,

Rainer

Vikram Mistry  writes:

> Hey Thanks...its working...
>
> On Thu, Dec 3, 2015 at 2:32 PM, Rainer M Krug  wrote:
>
>> vik...@tryjiffy.com writes:
>>
>> > Hi,
>> >
>> > Since everything we are doing from the terminal, then there should be a
>> > command to add the file in the gitignore through the terminal.
>>
>> Under Linux and OS X at least,
>>
>> echo "ignore.this.file" >> .gitignore
>>
>> should do it?
>>
>> Rainer
>>
>>
>> >
>> > Thanks.
>>
>> --
>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
>> Biology, UCT), Dipl. Phys. (Germany)
>>
>> Centre of Excellence for Invasion Biology
>> Stellenbosch University
>> South Africa
>>
>> Tel :   +33 - (0)9 53 10 27 44
>> Cell:   +33 - (0)6 85 62 59 98
>> Fax :   +33 - (0)9 58 10 27 44
>>
>> Fax (D):+49 - (0)3 21 21 25 22 44
>>
>> email:  rai...@krugs.de
>>
>> Skype:  RMkrug
>>
>> PGP: 0x0F52F982
>>

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [git-users] Gitignore add file or folder from terminal

2015-12-03 Thread Rainer M Krug
vik...@tryjiffy.com writes:

> Hi,
>
> Since everything we are doing from the terminal, then there should be a 
> command to add the file in the gitignore through the terminal. 

Under Linux and OS X at least,

echo "ignore.this.file" >> .gitignore

should do it?

Rainer


>
> Thanks.

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


[git-users] Gitignore add file or folder from terminal

2015-12-02 Thread vikram
Hi,

Since everything we are doing from the terminal, then there should be a 
command to add the file in the gitignore through the terminal. 

Thanks.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.