Results: 1024
Opens up a web page with documentation of the command for help (in this case for
add
command
git help add  /  git add --help
Lists all of our configuration values
git config --list
Opens up the default mergetool (for resolving conflicts)
git mergetool
Using git console
git config --global merge.tool "meld"
git config --global mergetool.prompt false
git config --global mergetool.keepBackup false
git config --global mergetool.meld.path "C:\Program Files (x86)\Meld\Meld.exe"
Using
.gitconfig
configuration file located at
C:\Users\Username\.gitconfig
[merge]
	tool = meld
[mergetool]
	prompt = false
	keepBackup = false
[mergetool "meld"]
	path = C:\\Program Files (x86)\\Meld\\Meld.exe
View differences in
vimdiff
even if the default difftool is another tool
git difftool -t vimdiff
Using git console
git config --global diff.tool "meld"
git config --global difftool.prompt false
git config --global difftool.meld.path "C:\Program Files (x86)\Meld\Meld.exe"
Using
.gitconfig
configuration file located at
C:\Users\Username\.gitconfig
[diff]
	tool = meld
[difftool]
	prompt = false
[difftool "meld"]
	path = C:\\Program Files (x86)\\Meld\\Meld.exe
.gitconfig
which is located at
C:\Users\Admin\.gitconfig
contains user configurations
[user]
	email = tandilashvilivaleri@gmail.com
	name = Valeri Tandilash
[merge]
	tool = meld
[mergetool "meld"]
	path = C:\\Program Files (x86)\\Meld\\Meld.exe
We are in
detached HEAD
state if the HEAD does not point to the most recent commit. We can go into
detached HEAD
if we run the command below (if the commit is not the last one)
git checkout ba48ldo
HEAD reference location:
.git / HEAD
If the current branch is master and
HEAD
is not detached, then the content of the file will be
ref: refs/heads/master
Results: 1024