Fundamentals Research Data Management FAIR Data Principles Metadata Ontologies Data Sharing Data Publications Data Management Plan Version Control & Git Public Data Repositories Persistent Identifiers Implementation within DataPLANT Annotated Research Context User Journey ARC Commander QuickStart QuickStart (experts) Swate QuickStart Walk-through Best Practices For Data Annotation DataHUB DataPLAN ARC Commander Manual Setup Installing Dependencies Configure Git Installing the ARC Commander Windows MacOS Linux DataHUB Access Before we start Central Functions Initialize Clone Connect Synchronize Configure Branch ISA Metadata Functions ISA Metadata Investigation Study Assay Update Export Swate Manual Setup Installing Swate Browser Desktop, via installer (beta-stage) Desktop, manually (recommended) MacOS Organization-wide Core Features Annotation tables Building blocks Building Block Types Adding a Building Block Using Units with Building Blocks Filling cells with ontology terms Advanced Term Search Templates Contribute Templates File Picker Expert Features ISA-JSON Frequently Asked Questions Teaching Materials DataPLANT Overview Big Picture ARC structure ARC Demo

Configure a Git User

last updated at 2022-12-20

Git always signs commits with a name and e-mail address of the user. These are then also used by GitLab and GitHub to associate the commits to user accounts.

Checkpoint

Check the git user configuration on your system, by executing

git config --global --get-regexp user

This should prompt two lines:
user.name <Your Name>
user.email <Your Email>

If this does not prompt anything or if you want to change the configuration, follow the next steps.

Global Git Configuration

Set the git configuration globally (for your system):

  1. Your name
git config --global user.name <Your Name>
  1. Your email address
git config --global user.email <Your Email>
  1. Check it
git config --global --get-regexp user

💡 Configuration needs to be done only once after installation of git on your system.

✏️ Edit this page