{:en}Source Tree :- fatal: protocol error: bad line length character: <!DO{:}{:ja}ソースツリー:-致命的:プロトコルエラー:行の長さが正しくありません:&lt;!DO{:}

{:en}Nowadays we all prefer using the famous Atlassian Version Control Product: Source tree. It helps us manage all our repositories(hosted or local) through Source Tree’s simple interface. Lately, I was experiencing an issue: “fatal: protocol error: bad line length character: <!DO“. source After some research, I was able to fix it and would like to share its solution with all of you. This issue was occurring due to the difference between git version support and source tree, as by default, Source tree uses system’s git to Push, Pull, Clone and other similar git operations. To resolve this issue, let source tree use its own version of git for all these tasks. For that we need to unable “Use Embedded Git” into source tree. To do so follow this: Tools -> Options -> Git -> Use Embedded git (at the bottom of the wizard). git By doing so, source tree will download its required git and will use this for all tasks which in turn will resolve our issue.
{:}{:ja}

今日、私たちは皆、有名なAtlassianバージョン管理製品であるソースツリーを使用することを好みます。 これは、ソースツリーのシンプルなインターフェイスを介してすべてのリポジトリ(ホスト型またはローカル)を管理するのに役立ちます。
最近、「致命的:プロトコルエラー:行の長さが正しくない文字:<!DO」という問題が発生していました。

source
いくつかの調査の後、私はそれを修正することができました、そしてあなた方全員とその解決策を共有したいと思います。

この問題は、デフォルトでシステムのgitを使用してプッシュ、プル、クローン、およびその他の同様のgit操作を行うため、gitバージョンのサポートとソースツリーの違いが原因で発生していました。
この問題を解決するには、ソースツリーがこれらすべてのタスクに独自のバージョンのgitを使用するようにします。 そのためには、ソースツリーに「UseEmbeddedGit」を使用できないようにする必要があります。

これを行うには、次の手順に従います。[ツール]-> [オプション]-> [Git]-> [埋め込みgitを使用する](ウィザードの下部)。

git

そうすることで、ソースツリーは必要なgitをダウンロードし、これをすべてのタスクに使用して、問題を解決します。

{:}

Leave a Reply

Create a website or blog at WordPress.com

Up ↑

Discover more from Sitecore Tales

Subscribe now to keep reading and get access to the full archive.

Continue reading