Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Exclamation mark meaning #131

Open
vorou opened this Issue · 3 comments

2 participants

@vorou

It is said in the readme that exclamation mark denotes conflicted files. However, it also appears when there is an untracked file in working dir. Is it by design?

@dahlbyk
Owner

Ah... there are actually two different exclamation marks: [master|MERGE +1 ~0 -0 !3 | +1 ~0 -0 !3 !].

The !3 means there are three unresolved merge conflicts; the trailing !, as you noted, means there are untracked files. I honestly don't recall why the latter is included, since a +1 in the working directory section means the same thing.

If you don't like the latter ! you can change set $GitPromptSettings.UntrackedText = '' in your profile after posh-git loads.

@vorou vorou referenced this issue from a commit in vorou/posh-git
@vorou vorou Info about trailing exclamation mark c481e5b
@vorou

Thanks for the explanation, updated the readme.

@dahlbyk
Owner

Thanks! :heart:

@psallandre psallandre referenced this issue from a commit in psallandre/posh-git
@vorou vorou Info about trailing exclamation mark 9ce57ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.