Commit db326604 authored by Jerdog's avatar Jerdog Committed by Achilleas Pipinellis

Updating changes based on feedback from @connorshea

parent ee9b75fd
# Start using Git on the command line # Start using Git on the command line
If you want to start using Git and GitLab, make sure that you have created and/or signed into an [account on GitLab](https://gitlab.com/users/sign_in). If you want to start using Git and GitLab, make sure that you have created and/or signed into an account on GitLab.
## Open a shell ## Open a shell
...@@ -29,11 +29,11 @@ After you are finished installing, open a new shell and type "git --version" aga ...@@ -29,11 +29,11 @@ After you are finished installing, open a new shell and type "git --version" aga
## Add your Git username and set your email ## Add your Git username and set your email
It is important to configure your Git username and email address as every Git commit that you create will use this information to identify who has submitted the commit. It is important to configure your Git username and email address as every Git commit will use this information to identify you as the author.
On your shell, type the following command to add your username: On your shell, type the following command to add your username:
``` ```
git config --global user.name "your_username_as_you_want_it_to_appear" git config --global user.name "YOUR_USERNAME"
``` ```
Then verify that you have the correct username: Then verify that you have the correct username:
...@@ -43,7 +43,7 @@ git config --global user.name ...@@ -43,7 +43,7 @@ git config --global user.name
To set your email address, type the following command: To set your email address, type the following command:
``` ```
git config --global user.email "your_email_address@domain" git config --global user.email "your_email_address@example.com"
``` ```
To verify that you entered your email correctly, type: To verify that you entered your email correctly, type:
...@@ -51,7 +51,7 @@ To verify that you entered your email correctly, type: ...@@ -51,7 +51,7 @@ To verify that you entered your email correctly, type:
git config --global user.email git config --global user.email
``` ```
You'll need to do this only once as you are using the "--global" option. It tells Git to always use this information for anything you do on that system. If you want to override this with a different username or email address for specific projects, you can run the command without the "--global" option when you’re in that project. You'll need to do this only once as you are using the `--global` option. It tells Git to always use this information for anything you do on that system. If you want to override this with a different username or email address for specific projects, you can run the command without the `--global` option when you’re in that project.
## Check your information ## Check your information
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment