Git Setup
Git Bash Installation
Download and Installation Gitbash on your local desktop, in case if you dont have one.
Verify weather gitbash is installed or not by running the below command in Cmd.exe or Linux terminal or mac shell.
sudo apt install git -ygit --versionGit Configuration with Username and Email
To start using Git from your computer, you must enter your credentials to identify yourself as the author of your work. The username and email address should match the ones you use in GitLab.
In your shell, add your user name:
git config --global user.name "your_username"Add your email address:
git config --global user.email "[email protected]"To check the configuration, run:
git config --global --listThe
--globaloption tells Git to always use this information for anything you do on your system. If you omit--globalor use--local, the configuration applies only to the current repository.
Last updated