User Tools

Site Tools


auth_gitlab

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
auth_gitlab [2019/12/03 15:08] – [Configure your local Git Client] apanoauth_gitlab [2019/12/03 15:15] – [Global configuration] apano
Line 74: Line 74:
 <code> <code>
 git config --global user.name "Firstname Lastname" git config --global user.name "Firstname Lastname"
-git config --global user.email "your_email@unibz.it"+git config --global user.email "your@email"
 git config --list git config --list
-</code> 
- 
-This data is stored in your gitconfiguration file:  
- 
-Linux/macOS: ~/.gitconfig 
- 
-Windows: C:\Users\username\.gitconfig 
- 
-The content should be:  
-<code txt> 
-[user] 
-        name = Lastname Firstname 
-        email = your@email 
 </code> </code>
  
Line 108: Line 95:
 </code> </code>
  
 +The data on the global Git configuration is stored in the file (Linux/macOS) ~/.gitconfig or (Windows) C:\Users\username\.gitconfig
 +
 +The content would be (if configured): 
 +<code txt>
 +[user]
 +        name = Lastname Firstname
 +        email = your@email
 +</code>
 ==== Local Configuration ==== ==== Local Configuration ====
 You have to run the commands inside the directory where you want your repository to be. From terminal/command line, type: You have to run the commands inside the directory where you want your repository to be. From terminal/command line, type:
/data/www/wiki.inf.unibz.it/data/pages/auth_gitlab.txt · Last modified: 2020/04/02 11:25 by apano