Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

I can't seem to get my prompt to work

22 views
Skip to first unread message

Bobby Johnson (NotMyself)

unread,
Aug 30, 2010, 1:26:38 PM8/30/10
to posh-git
I installed the latest stuff from the git repo and I think I have it
all wired up correctly. But my prompt looks like this:

D:\Dev\Work\OATS []> git status
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working
directory)
#
# modified: .gitignore
#
no changes added to commit (use "git add" and/or "git commit -a")
D:\Dev\Work\OATS []>

obviously, I can use git and the prompt is "working". it's just not
showing anything.

Anyone have hints or ideas?

Bobby Johnson

unread,
Aug 30, 2010, 1:54:33 PM8/30/10
to posh-git
It looks like I may have the wrong version of MSysGit installed. For example "git status --short --branch 2" errors in the command prompt.
--
"The explanation requiring the fewest assumptions is most likely to be correct."

- Occam’s Razor
http://en.wikipedia.org/wiki/Occam's_Razor

Jeremy Skinner

unread,
Aug 30, 2010, 1:58:13 PM8/30/10
to posh...@googlegroups.com
The --branch option is only available from 1.7.1 onwards - there's a beta for this available on the msysgit site. 

If you don't want to install 1.7.1, then you'll instead need to use the posh-git 0.2 release from http://github.com/dahlbyk/posh-git/zipball/v0.2

Jeremy

Bobby Johnson

unread,
Aug 30, 2010, 2:00:27 PM8/30/10
to posh...@googlegroups.com
AHA! I knew I was on to something... 8) Thank you Mr. Skinner.
Reply all
Reply to author
Forward
0 new messages