Windows 10: Ubuntu terminal not displaying git messages correctly

Discus and support Ubuntu terminal not displaying git messages correctly in Windows 10 Software and Apps to solve the problem; I have been using the Ubuntu terminal for Windows recently, and have just encountered a problem where outputs from git commands aren't displaying... Discussion in 'Windows 10 Software and Apps' started by Patrick Jennings, Mar 11, 2019.

  1. Ubuntu terminal not displaying git messages correctly


    I have been using the Ubuntu terminal for Windows recently, and have just encountered a problem where outputs from git commands aren't displaying correctly.

    Ubuntu terminal not displaying git messages correctly 3308c8bb-cf8f-4ed3-8e53-801b73a2729b?upload=true.png

    Ubuntu terminal is on the left, and cmd on the right. As can be seen, the changes to be committed are not displaying. This is happening for any of the comands that print in that colour. I tried changing the colours but that isn't the problem.

    Ubuntu terminal not displaying git messages correctly 6b5c6b42-a59f-4bcd-bddf-f476f0615895?upload=true.png

    The colour supposedly being used for this is the 6th from the right.


    Any ideas?

    :)
     
    Patrick Jennings, Mar 11, 2019
    #1

  2. bash apt-get fails to connect to ubuntu same when using aptitude

    When I was trying to install "git" in bash, it always had a problem connecting to ubuntu's servers. Yes I have internet, Yes I can browse using a browser. I can pull up webpages I've never been to. I can ping an ip address etc etc etc. I also went directly
    to the file it was attempting to download and was able to download the deb it couldn't find. I even did an apt-get update. Still can't connect to ubuntu servers. It has to do with the bash itself. This is very upsetting because I've seen videos with other
    people being able to install git and other repositories just fine. If anyone had this problem or can help me fix this that be great!

    I included this also

    root@localhost:/mnt/c/Users/Matthew# apt-get install git

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    The following extra packages will be installed:

    git-man liberror-perl

    Suggested packages:

    git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk

    gitweb git-arch git-bzr git-cvs git-mediawiki git-svn

    The following NEW packages will be installed:

    git git-man liberror-perl

    0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.

    Need to get 3,306 kB of archives.

    After this operation, 21.9 MB of additional disk space will be used.

    WARNING: The following packages cannot be authenticated!

    git-man git

    Err http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1

    Could not resolve 'archive.ubuntu.com'

    Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.3

    Could not resolve 'archive.ubuntu.com'

    Err http://security.ubuntu.com/ubuntu/ trusty-security/main git-man all 1:1.9.1-1ubuntu0.3

    Could not resolve 'security.ubuntu.com'

    Err http://security.ubuntu.com/ubuntu/ trusty-security/main git amd64 1:1.9.1-1ubuntu0.3

    Could not resolve 'security.ubuntu.com'

    E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libe/liberror-perl/liberror-perl_0.17-1.1_all.deb Could not resolve 'archive.ubuntu.com'

    E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_1.9.1-1ubuntu0.3_all.deb Could not resolve 'security.ubuntu.com'

    E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/git/git_1.9.1-1ubuntu0.3_amd64.deb Could not resolve 'security.ubuntu.com'

    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
     
    Matthewasdf, Mar 11, 2019
    #2
  3. Brink Win User
    What’s new in Git for Windows 2.11?


    Source: Whats new in Git for Windows 2.11? | Microsoft Application Lifecycle Management
     
    Brink, Mar 11, 2019
    #3
  4. Ubuntu terminal not displaying git messages correctly

    Icons from apps aren´t displayed correctly

    Hi,

    Thank you for posting your query at Microsoft community.

    Do the apps work fine apart form the icons not displaying correctly? If so I would suggest you to run an SFC scan and check if it helps. If the issue persists you may run DISM command and check.

    Follow this steps:


      • Press Windows+X.

      • Click on Command Prompt (Admin).

      • Type the command SFC /SCANNOW and
        DISM.exe /Online /Cleanup-image /Restorehealth and hit
        Enter.
    Hope the information provided was helpful and do let us know if you need any assistance in the future. We will be glad to help.
     
    Rohit Chettri, Mar 11, 2019
    #4
Thema:

Ubuntu terminal not displaying git messages correctly

Loading...
  1. Ubuntu terminal not displaying git messages correctly - Similar Threads - Ubuntu terminal displaying

  2. How to install terminal icons in wsl2 ubuntu

    in Windows 10 Gaming
    How to install terminal icons in wsl2 ubuntu: I want to see the files and folder icons when I use the ls command. Is there any way to achieve this? https://answers.microsoft.com/en-us/windows/forum/all/how-to-install-terminal-icons-in-wsl2-ubuntu/7c810f10-3237-462b-8845-dcdb98f644e7
  3. How to install terminal icons in wsl2 ubuntu

    in Windows 10 Software and Apps
    How to install terminal icons in wsl2 ubuntu: I want to see the files and folder icons when I use the ls command. Is there any way to achieve this? https://answers.microsoft.com/en-us/windows/forum/all/how-to-install-terminal-icons-in-wsl2-ubuntu/7c810f10-3237-462b-8845-dcdb98f644e7
  4. git and pywb

    in Windows 10 Software and Apps
    git and pywb: I am trying to install pywb onto a local virtual machine environment (folder). System is debian 11.3 (Bullseye), Local Personal Computer. with Python 3.10.6, which has pip and setuptools. I understand it might not run here, this excersise is only to figure out how to install...
  5. Change Default From Powershell to Ubuntu in Windows Terminal

    in Windows 10 Ask Insider
    Change Default From Powershell to Ubuntu in Windows Terminal: Instead of Powershell, I would like Windows Terminal to open a WSL tab by default. If this is possible, than I could right-click to open a new terminal from File Explorer, and not have to change directory all the way to where I want to go. submitted by /u/GalacticWafer...
  6. Add Powerline to Git Bash Terminal?

    in Windows 10 Ask Insider
    Add Powerline to Git Bash Terminal?: So I’m trying to get some form of powerline going in my git bash terminal, but everything I find is basically geared toward mac, Linux, or PowerShell. Any help or advice would be appreciated! submitted by /u/ModelMissing [link] [comments]...
  7. Terminal: Powershell vs Ubuntu: git status difference for PHP project

    in Windows 10 BSOD Crashes and Debugging
    Terminal: Powershell vs Ubuntu: git status difference for PHP project: I've just updated my installation of Windows terminal to 1.0. To test consistency I opened Terminal in my project directory and got these results: Powershell: [ATTACH] WSL/Ubuntu: [ATTACH] Powershell shows git --version = 2.26.2.windows.1 WSL shows git --version =...
  8. how to disable swap in windows 10 ubuntu terminal

    in Windows 10 Software and Apps
    how to disable swap in windows 10 ubuntu terminal: How can I disable swap in windows10 ubuntu terminal? top - 18:51:22 up 6:30, 0 users, load average: 0.52, 0.58, 0.59 Tasks: 4 total, 1 running, 3 sleeping, 0 stopped, 0 zombie %Cpus: 4.1 us, 8.8 sy, 0.0 ni, 86.5 id, 0.0 wa, 0.6 hi, 0.0 si, 0.0 st KiB...
  9. git gui

    in Windows 10 Network and Sharing
    git gui: Somehow git-gui has been installed on my windows 10 system. It has installed its commands into the file explorer menu. It is failing on an SSL call. I get the following error message fatal: unable to access 'https://github.com/dfl1955/xxxxxxx.git/': error:1407742E:SSL...
  10. Terminal bug display

    in Windows 10 Support
    Terminal bug display: Hi, I have a problem with the display of the text into my terminal. For example, I follow a Symfony tutorial and when I create a new app, here is the output of my terminal : Code: C:\xampp\htdocs\Symfony>php bin/console generate:bundle   ...