git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git/Terminal issue
@ 2009-07-15 11:27 GleMarS
  2009-07-15 11:51 ` Michael J Gruber
  2009-07-15 11:51 ` Steven Noonan
  0 siblings, 2 replies; 5+ messages in thread
From: GleMarS @ 2009-07-15 11:27 UTC (permalink / raw)
  To: git


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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Git/Terminal issue
  2009-07-15 11:27 Git/Terminal issue GleMarS
@ 2009-07-15 11:51 ` Michael J Gruber
  2009-07-15 11:51 ` Steven Noonan
  1 sibling, 0 replies; 5+ messages in thread
From: Michael J Gruber @ 2009-07-15 11:51 UTC (permalink / raw)
  To: GleMarS; +Cc: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Git/Terminal issue
  2009-07-15 11:27 Git/Terminal issue GleMarS
  2009-07-15 11:51 ` Michael J Gruber
@ 2009-07-15 11:51 ` Steven Noonan
  2009-07-15 12:02   ` Glen Swinfield
  1 sibling, 1 reply; 5+ messages in thread
From: Steven Noonan @ 2009-07-15 11:51 UTC (permalink / raw)
  To: GleMarS; +Cc: git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Git/Terminal issue
  2009-07-15 11:51 ` Steven Noonan
@ 2009-07-15 12:02   ` Glen Swinfield
  2009-07-15 12:51     ` Alex Riesen
  0 siblings, 1 reply; 5+ messages in thread
From: Glen Swinfield @ 2009-07-15 12:02 UTC (permalink / raw)
  To: Steven Noonan; +Cc: git

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Git/Terminal issue
  2009-07-15 12:02   ` Glen Swinfield
@ 2009-07-15 12:51     ` Alex Riesen
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Riesen @ 2009-07-15 12:51 UTC (permalink / raw)
  To: glen; +Cc: Steven Noonan, git

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$ ")

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-15 12:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15 11:27 Git/Terminal issue GleMarS
2009-07-15 11:51 ` Michael J Gruber
2009-07-15 11:51 ` Steven Noonan
2009-07-15 12:02   ` Glen Swinfield
2009-07-15 12:51     ` Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).