Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 453 Bytes

git.md

File metadata and controls

25 lines (13 loc) · 453 Bytes

git

Change default username

git config --global user.name <name>

Change default email

git config --global user.email <email>

Change default git editor

git config --global core.editor <editor>

Change default branch name

git config --global init.defaultBranch <name>

Change default pull behavior to rebase

git config --global pull.rebase true

Configure to push all tags

git config --global push.followTags true