-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
I have some colleagues that occasionally have issues with Git [in a team setting] simply because they miss the message when a push is made prior to a required pull and they miss the message that it failed to successfully push. This is because a success shows a block of white text and a failure shows a block of white text. It would make sense for usability purposes if a git push origin <branch name> fails, for example, that the text returned is a different color (e.g. yellow/red). I tried to find ways to do this in Windows Git Bash and it seems less than trivial -- and I also think it is something that should be built in; so I am requesting this feature.
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
64-bit
$ git --version --build-options
git version 2.15.0.windows.1
built from commit: ed3d106bc93775b62b3860176d7501e079a089b9
sizeof-long: 4
machine: x86_64
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Windows 10 64-bit
$ cmd.exe /c ver
Microsoft Windows [Version 10.0.16299.125]
- What options did you set as part of the installation? Or did you choose the
defaults?
defaults
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
no
Details
-
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
Git Bash -
What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
`git push origin <branch name>` when a pull is required first
- What did you expect to occur after running these commands?
Not relevant
- What actually happened instead?
Not relevant
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
Not relevant