Skip to content
Euccas Chen edited this page Nov 29, 2017 · 3 revisions

Git Config

Set difftool

git difftool --help # show HTML help
git difftool --tool-help # show which tools you can set and use
git difftool --tool=bc # use Beyond Compare as difftool

Config difftool

git config --global diff.tool bc
git config --global diff.prompt false

HowTos

How to clone a repository to a directory?

Go into the folder. If the folder is empty, then:

git clone git@github.com:whatever .

else

git init
git remote add origin PATH/TO/REPO
git fetch
git checkout -t origin/master
Clone this wiki locally