# Git/Terminal issue

5 messages from 2009-07-15 to 2009-07-15. Participants: GleMarS, Michael J Gruber, Steven Noonan, Glen Swinfield, Alex Riesen.
Thread: https://gitlist.dev/t/20118

## GleMarS, 2009-07-15 11:27

Subject: Git/Terminal issue
Message-ID: <24495974.post@talk.nabble.com>
URL: https://gitlist.dev/e/24495974.post%40talk.nabble.com

```

Hi,

I'm getting rage. Basically whenever I navigate to a folder that contains a
.git folder in Terminal (os x leopard), it prints a load of usage text. it's
driving me mad, I've uninstalled - re-installed etc etc and no joy.

I have set up git on other machines without any issue so I'm baffled. Output
image attached.

Help appreciated.

http://www.nabble.com/file/p24495974/terminal_low.jpg 


Cheers.
-- 
View this message in context: http://www.nabble.com/Git-Terminal-issue-tp24495974p24495974.html
Sent from the git mailing list archive at Nabble.com.

```

## Michael J Gruber, 2009-07-15 11:51

Subject: Re: Git/Terminal issue
Message-ID: <4A5DC2A5.2010504@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4A5DC2A5.2010504%40drmicha.warpmail.net
In-Reply-To: <24495974.post@talk.nabble.com>

```
GleMarS venit, vidit, dixit 15.07.2009 13:27:
> 
> Hi,
> 
> I'm getting rage. Basically whenever I navigate to a folder that contains a
> .git folder in Terminal (os x leopard), it prints a load of usage text. it's
> driving me mad, I've uninstalled - re-installed etc etc and no joy.
> 
> I have set up git on other machines without any issue so I'm baffled. Output
> image attached.
> 
> Help appreciated.
> 
> http://www.nabble.com/file/p24495974/terminal_low.jpg 
> 
> 
> Cheers.

Are you using bash completion for git by any chance? Something calls
"git branch" with incorrect parameters, and it may be the call which
recalculates the bits for PS1.

Michael

```

## Steven Noonan, 2009-07-15 11:51

Subject: Re: Git/Terminal issue
Message-ID: <alpine.LNX.2.00.0907150450290.14159@xerxes.uplinklabs.net>
URL: https://gitlist.dev/e/alpine.LNX.2.00.0907150450290.14159%40xerxes.uplinklabs.net
In-Reply-To: <24495974.post@talk.nabble.com>

```
On Wed, 15 Jul 2009, GleMarS wrote:

> 
> Hi,
> 
> I'm getting rage. Basically whenever I navigate to a folder that contains a
> .git folder in Terminal (os x leopard), it prints a load of usage text. it's
> driving me mad, I've uninstalled - re-installed etc etc and no joy.
> 
> I have set up git on other machines without any issue so I'm baffled. Output
> image attached.
> 
> Help appreciated.
> 
> http://www.nabble.com/file/p24495974/terminal_low.jpg 

Hi there,

Do you use some kind of special .bashrc, .profile, or other dotfiles that 
would affect what commands such as 'cd' do (i.e. aliases, etc)?

- Steven

```

## Glen Swinfield, 2009-07-15 12:02

Subject: Re: Git/Terminal issue
Message-ID: <4A5DC56E.8050607@erskinedesign.com>
URL: https://gitlist.dev/e/4A5DC56E.8050607%40erskinedesign.com
In-Reply-To: <alpine.LNX.2.00.0907150450290.14159@xerxes.uplinklabs.net>

```
I cleared my .profile file but it didn't seem to have an effect. I also 
removed any aliases.

If that's what it sounds like I'll have another dig around.

Steven Noonan wrote:
> On Wed, 15 Jul 2009, GleMarS wrote:
>
>   
>> Hi,
>>
>> I'm getting rage. Basically whenever I navigate to a folder that contains a
>> .git folder in Terminal (os x leopard), it prints a load of usage text. it's
>> driving me mad, I've uninstalled - re-installed etc etc and no joy.
>>
>> I have set up git on other machines without any issue so I'm baffled. Output
>> image attached.
>>
>> Help appreciated.
>>
>> http://www.nabble.com/file/p24495974/terminal_low.jpg 
>>     
>
> Hi there,
>
> Do you use some kind of special .bashrc, .profile, or other dotfiles that 
> would affect what commands such as 'cd' do (i.e. aliases, etc)?
>
> - Steven
>   

-- 
Glen Swinfield

Erskine Design, Studio 3, Four Stoney Street, Nottingham, NG11LG, United Kingdom | Telephone: +44 (0)115 979 9807

Erskine Design is a trading style of Erskine Corporation, a Company Limited by shares and registered in the Isle of Man | Registered office: Floor #2, Viking House, Nelson Street, Douglas, Isle of Man, IM1 2AH | Company number: 002697V | Registered with the Data Protection Supervisor: N002354 | VAT Number: GB 003 1509 36

IMPORTANT PLEASE READ: http://erskinedesign.com/docs/email

http://www.erskinedesign.com/

```

## Alex Riesen, 2009-07-15 12:51

Subject: Re: Git/Terminal issue
Message-ID: <81b0412b0907150551x718bd46eq6d5bc8f332a9db1f@mail.gmail.com>
URL: https://gitlist.dev/e/81b0412b0907150551x718bd46eq6d5bc8f332a9db1f%40mail.gmail.com
In-Reply-To: <4A5DC56E.8050607@erskinedesign.com>

```
On Wed, Jul 15, 2009 at 14:02, Glen Swinfield<glen@erskinedesign.com> wrote:
> I cleared my .profile file but it didn't seem to have an effect. I also
> removed any aliases.
>
> If that's what it sounds like I'll have another dig around.

Just do

  echo $PS1

and look at the commands it uses. If you just want to get rid
of the prompt set it to something trivial (i.e. "PS1=\w$ ")

```
