Add your name and email

git config --global user.name "Frank Earnhardt"
git config --global user.email "frank.earnhardt@outlook.com"
# Add your name and email
git config --global user.name "Frank Earnhardt"
git config --global user.email "frank.earnhardt@outlook.com"

# Fix commit made before adding user.name and .email
git commit --amend --reset-author

# Tired of having to enter user and password every time??
# WARNING: This will store your credentials in ~/.git-credentials
# WARNING: cat ~/.git-credentials 
# WARNING: https://earnhardt:278e370ff67@gitea.remote-tech.us
# WARNING: syntax: https://<user>:<api_key>@<gitea-url>
git config --global credential.helper store
# <optional>
git config --global credential.helper "cache --timeout=3600"

# Add your name and email

<strong>git config --global user.name "Frank Earnhardt"<br>git config --global user.email "frank.earnhardt@outlook.com"</strong>
# Fix commit made before adding user.name and .email
<strong>git commit --amend --reset-author</strong>
# Tired of having to enter user and password every time??
# WARNING: This will store your credentials in ~/.git-credentials
# WARNING: cat ~/.git-credentials
# WARNING: https://earnhardt:278e370ff67@gitea.remote-tech.us
# WARNING: syntax: https://<user>:<api_key>@<gitea-url>
<strong>git config --global credential.helper store</strong>
# <optional>
<strong>git config --global credential.helper "cache --timeout=3600"</strong>

Leave a Reply