It contains some frequently-used git command.
- set usename:
git config --global user.name "your-name"
- set email:
git config --global user.email "your-email"
- set the default branch to main:
git config --global init.defaultBranch main
2024-11-17
It contains some frequently-used git command.
git config --global user.name "your-name"
git config --global user.email "your-email"
git config --global init.defaultBranch main