विजुअल स्टूडियो कोड के रूप में 1.13 बेहतर विलय दृश्य स्टूडियो कोड के मूल में एकीकृत किया गया था।
उन्हें एक साथ तार करने का तरीका अपने को संशोधित करना है .gitconfigऔर आपके पास दो विकल्प हैं ।
: कमांड लाइन प्रविष्टियों के साथ ऐसा करने के लिए, इनमें से प्रत्येक में प्रवेश (: की जगह नोट "के साथ 'के रूप में इज़्तोक Delfin और e4rache द्वारा स्पष्ट किया विंडोज Git बैश, MacOS और लिनक्स पर)
git config --global merge.tool vscode
git config --global mergetool.vscode.cmd "code --wait $MERGED"
git config --global diff.tool vscode
git config --global difftool.vscode.cmd "code --wait --diff $LOCAL $REMOTE"
.gitconfig विजुअल स्टूडियो कोड के साथ कुछ लाइन चिपकाकर ऐसा करने के लिए ।
git config --global core.editor "code --wait"कमांड लाइन से चलाएं ।
यहां से आप कमांड डाल सकते हैं git config --global -e। आप नीचे दिए गए "अतिरिक्त ब्लॉक" में कोड में पेस्ट करना चाहेंगे।
[user]
name = EricDJohnson
email = cool-email@neat.org
[gui]
recentrepo = E:/src/gitlab/App-Custom/Some-App
# Comment: You just added this via 'git config --global core.editor "code --wait"'
[core]
editor = code --wait
# Comment: Start of "Extra Block"
# Comment: This is to unlock Visual Studio Code as your Git diff and Git merge tool
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait $MERGED
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
# Comment: End of "Extra Block"
अब एक संघर्ष रन git mergetoolऔर टाडा के साथ अपने गिट निर्देशिका के भीतर , आप विजुअल स्टूडियो कोड मर्ज संघर्ष को संभालने में आपकी मदद कर रहे हैं! ( विजुअल स्टूडियो कोड बंद करने से पहले अपनी फ़ाइल को सहेजना सुनिश्चित करें ।)

codeकमांड लाइन से लॉन्च करने पर आगे पढ़ने के लिए , इस दस्तावेज़ में देखें ।
अधिक जानकारी के git mergetoolलिए इस दस्तावेज को देखें ।