DeskTux

Linux on Desktops

User Tools

Site Tools


apps:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
apps:git [2020-01-02 16:30] – [Troubleshooting/Q&A] Typo jensapps:git [2020-07-21 15:35] – Extend git client configuration jens
Line 10: Line 10:
   - Change to that directory and initialize your git repository: <code>cd /srv/git/puppet.git; git init</code>   - Change to that directory and initialize your git repository: <code>cd /srv/git/puppet.git; git init</code>
   - Give your project a meaningful description:((Use your preferred editor, I just like vi)) <code>vi .git/description</code>   - Give your project a meaningful description:((Use your preferred editor, I just like vi)) <code>vi .git/description</code>
-  - Configure the basics of the git client: <code>git config --global user.name "Your Name"git config --global user.email your@email.tld</code>+  - Configure the basics of the git client:<code> 
 +git config --global user.name "Your Name" 
 +git config --global user.email you@example.com 
 +git config --global credential.helper store 
 +git config --global push.default simple 
 +git config --global color.ui true</code>
   - Create a README and make the initial commit: <code>touch README.md; git add .; git commit -m "Initialize Repository"</code>   - Create a README and make the initial commit: <code>touch README.md; git add .; git commit -m "Initialize Repository"</code>
  
apps/git.txt · Last modified: 2020-07-24 09:34 by jens