Benutzer:MovGP0/Git

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
   MovGP0        Über mich        Hilfen        Artikel        Weblinks        Literatur        Zitate        Notizen        Programmierung        MSCert        Physik      


Git konfigurieren

[Bearbeiten | Quelltext bearbeiten]
# set Visual Studio Code as default editor 
git config --global core.editor "code --wait" 
# open global configuration of current user in default editor 
git config --global -e
[merge]
	tool = vsdiffmerge
[diff]
	guitool = code
[user]
	name = Dirry, Johann
	email = johann.dirry@foo.com
[core]
	excludesfile = C:\\Users\\johann.dirry\\Documents\\gitignore_global.txt
	editor = \"C:/Program Files (x86)/Microsoft VS Code/code.exe\" --wait
	autocrlf = True
	safecrlf = false
[core]
	safecrlf = true
[credential]
	helper = !\"C:\\Program Files (x86)\\GitExtensions\\GitCredentialWinStore\\git-credential-winstore.exe\"
[mergetool "vsdiffmerge"]
	path = C:/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/IDE/vsDiffMerge.exe
	keepbackup = false
  trustexitcode = true
	cmd = $REMOTE $LOCAL $BASE $MERGED /m
[difftool "code"]
	path = C:/Program Files (x86)/Microsoft VS Code/code.exe
	cmd = \"C:/Program Files (x86)/Microsoft VS Code/code.exe\" --wait --diff \"$LOCAL\" \"$REMOTE\"

Adding a repository as submodule

git submodule add https://foobar.com/baz/_git/dal Submodules\DAL
  • Version Control. In: Visual Studio Code Docs. Microsoft, abgerufen am 17. Mai 2016.