Jump to content

MediaWiki:Menggunakan GIT

From Wiki
Revision as of 23:56, 20 August 2022 by Kangtain (talk | contribs) (Created page with "Now that you have Git installed, it’s time to configure your personal information. You should have to do this only once. You can also change your personal information at any time by running these commands again. Git tracks who makes each commit by checking the user’s name and email. In addition, this info is used to associate your commits with your Gerrit account. Enter the two commands below to set your username and email address. Replace gerrituser with your own...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Now that you have Git installed, it’s time to configure your personal information. You should have to do this only once. You can also change your personal information at any time by running these commands again.

Git tracks who makes each commit by checking the user’s name and email. In addition, this info is used to associate your commits with your Gerrit account.

Enter the two commands below to set your username and email address. Replace gerrituser with your own Gerrit username and replace gerrituser@example.com with your own email address:

git config --global user.email "gerrituser@example.com"
git config --global user.name "gerrituser"

Source