Difference between revisions of "Git"

From Teknologisk videncenter
Jump to: navigation, search
m
Line 1: Line 1:
 +
=Install git=
 +
Download git from https://git-scm.com/download/win and install it.
 +
 +
=Basic configuration=
 +
From terminal issue the following commands: (Windows start the '''git bash''' app)
 +
<source lang=bash>
 +
heth@emb3:~$ git config --global user.name "Henrik Thomsen"
 +
heth@emb3:~$ git config --global user.email "heth@mercantec.dk"
 +
</source>
 +
 +
 
=Why is it called Git?=
 
=Why is it called Git?=
 
Linus Torvalds has quipped about the name "git", which is British English slang for a stupid or unpleasant person. Torvalds said: "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'git'."<ref>http://www.infoworld.com/article/05/04/19/HNtorvaldswork_1.html</ref><ref> https://git.wiki.kernel.org/articles/g/i/t/GitFaq_ebc3.html#Why_the_.27git.27_name.3F </ref><ref>http://www.pcworld.idg.com.au/article/129776/after_controversy_torvalds_begins_work_git_</ref>
 
Linus Torvalds has quipped about the name "git", which is British English slang for a stupid or unpleasant person. Torvalds said: "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'git'."<ref>http://www.infoworld.com/article/05/04/19/HNtorvaldswork_1.html</ref><ref> https://git.wiki.kernel.org/articles/g/i/t/GitFaq_ebc3.html#Why_the_.27git.27_name.3F </ref><ref>http://www.pcworld.idg.com.au/article/129776/after_controversy_torvalds_begins_work_git_</ref>
Line 7: Line 18:
 
[[Category:Linux]]
 
[[Category:Linux]]
 
[[Category:Version control software]]
 
[[Category:Version control software]]
 +
[[Category:Windows]][[Category:git]]

Revision as of 15:12, 19 December 2022

Install git

Download git from https://git-scm.com/download/win and install it.

Basic configuration

From terminal issue the following commands: (Windows start the git bash app)

heth@emb3:~$ git config --global user.name "Henrik Thomsen"
heth@emb3:~$ git config --global user.email "heth@mercantec.dk"


Why is it called Git?

Linus Torvalds has quipped about the name "git", which is British English slang for a stupid or unpleasant person. Torvalds said: "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'git'."[1][2][3]

References