Documentation/content/git/configuring-git.md
2020-10-04 20:44:27 +02:00

833 B

eleventyNavigation
key title parent
ConfiguringGit Configuring Git Git

Once you managed to get Git up and running, the first thing you must do before you can use your fresh installation of Git is to tell Git your name and email address. You only have to do this once. This is easily done with Git Bash:

git config --global user.name 'knut'
git config --global user.email 'knut@example.com'
git config --global --list

The username can be anything, but it is important that the email is the same as the one you use on Codeberg. That is because the email address will later be used to assign your commits to your account.

If you do not wish to include your email address with your commits, you can opt to specify USERNAME@noreply.codeberg.org here instead, where USERNAME is your Codeberg username