Git related configuration


Configure user name and mailbox

//Configure user name
git config --global "username"
//Configure mailbox
git config --global "[email protected]"

Generate SSH key

ssh-keygen -t rsa -C "[email protected]"

Ignore changes in file permissions or file owners

#Current version Library
git config core.filemode false
#Global configuration
git config --global core.fileMode false

This work adoptsCC agreement, reprint must indicate the author and the link to this article

This is not a bug, it’s just an unlisted feature!