Git/Terminal issue

5 messages, 4 authors, 2016-06-15 · open the first message on its own page

Git/Terminal issue

From: GleMarS <hidden>
Date: 2016-06-15 22:47:03

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.

Re: Git/Terminal issue

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:47:03

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

Re: Git/Terminal issue

From: Steven Noonan <hidden>
Date: 2016-06-15 22:47:03

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

Re: Git/Terminal issue

From: Glen Swinfield <hidden>
Date: 2016-06-15 22:47:03

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:

  
quoted
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/

Re: Git/Terminal issue

From: Alex Riesen <hidden>
Date: 2016-06-15 22:47:03

On Wed, Jul 15, 2009 at 14:02, Glen Swinfield[off-list ref] 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$ ")
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help