gordon's note infotech configure your git username/email on linux

configure your git username/email on linux

To set your global username/email configuration:

  1. Set your username:
    git config --global user.name "FIRST_NAME LAST_NAME"
  2. Set your email address:
    git config --global user.email "MY_NAME@example.com"

To set repository-specific username/email configuration:

  1. In a terminal, change into the repository directory.
  2. Set your username:
    git config user.name "FIRST_NAME LAST_NAME"
  3. Set your email address:
    git config user.email "MY_NAME@example.com"
  4. Verify your configuration by displaying your configuration file:
    cat .git/config

 

 
Source: Configure your DVCS username for commits | Bitbucket Cloud | Atlassian Support
 

#git #linux

Leave a Reply

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Related Post