Git

From wiki
Revision as of 22:16, 1 May 2018 by Hdridder (talk | contribs) (Created page with "Using the [https://bitbucket.org/ Bitbucket] code repository with git. ==Starting== Install the git tools: <code>apt-get install git</code> Initialize your user with: :a nam...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Using the Bitbucket code repository with git.

Starting

Install the git tools: apt-get install git

Initialize your user with:

a name: git config --global user.name "Your Name"
and email: git config --global user.email "user@domain.tld"

Set line endings correctly: git config --global core.autocrlf input

You homedir now has a .gitconfig files with this information