Git push, pushes successfully but puts a massive ASCII 'X' in the output [duplicate]

被刻印的时光 ゝ 提交于 2019-12-19 18:24:25

问题


I've just pushed some code up to BitBucket, it seems to have pushed successfully but the response I got was, is, strange.

$ git push
Counting objects: 11, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 924 bytes | 0 bytes/s, done.
Total 6 (delta 4), reused 1 (delta 0)
remote:
remote: ++++                               ++++
remote:   +++++++                     +++++++
remote:      +++++++++++++++++++++++++++++
remote:          +++++++++++++++++++++
remote:                 +++++++
remote:       +++                     +++
remote:       ++++++     +++++     ++++++
remote:        ++++++    +++++    ++++++
remote:        +++++++    +++    +++++++
remote:         ++++++++   +   ++++++++
remote:          ++++++++     ++++++++
remote:            ++++++++ +++++++++
remote:             +++++++++++++++
remote:              +++++++++++++
remote:                +++++++++
remote:                  +++++++
remote:               +   +++++++
remote:              +++   +++++++
remote:             ++++++  +++++++
remote:            +++++++   +++++++
remote:           +++++++     +++++++
remote:          +++++++       +++++++
remote:          +++++++       +++++++
remote:          +++++++       +++++++
To git@bitbucket.org:BanksySan/swag-challenge-1.git
   26ce354..86b24a4  master -> master

What's the giant ASCII cross for?


回答1:


That is just arbitrary text that is sent from the server; the client just displays what the server sends. Note that every line is prefixed with remote. It is usually used for error messages, or just some informational text about the server.

In this case, it appears to be the Atlassian Logo, as Atlassian is the company that owns Bitbucket. Based on another question, it looks like this is intended to be colored using ANSI escape sequences as a rainbow, likely to celebrate today's Supreme Court's decision to strike down laws against gay marriage in the US. It may be the case that your terminal is not interpreting those escape sequences, and so you are just seeing the monochrome logo, rather than the rainbow.



来源:https://stackoverflow.com/questions/31081982/git-push-pushes-successfully-but-puts-a-massive-ascii-x-in-the-output

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!