After the installation of the Git tooling for the command line you need to configure Git.
The minimum required information to use Git is the user name and the email which Git should use.
You also configure Git to use rebase during a pull operation which is also a common setting for Git.
Configure your user and email for Git via the following command.
# configure the user which will be used by Git
# this should be not an acronym but your full name
git config --global user.name "Firstname Lastname"
# configure the email address
git config --global user.email "your.email@example.org"
# use rebase instead of merge in the `git pull` command.
# this avoids merge commits during the pull operation
git config --global branch.autosetuprebase always
0 comments:
Post a Comment