Phpstorm 修改git工具的用户名及邮箱

1 分钟读完



  git config --global
  git config --global darkwind



Configure a password policy In the Settings dialog (Ctrl+Alt+S), select Appearance and Behavior | System Settings | Passwords on the left. Select how you want PhpStorm to process passwords for Git remote repositories:

  1. In native Keychain: select this option to use native Keychain to store your passwords. This setting is only available for MacOS and Linux.

  2. In KeePass: select this option to use the KeePass password manager to store your passwords. When you use the KeePass password manager, a master password will be used to access the file that stores individual passwords. Once PhpStorm remembers your passwords, it will not ask for them unless you need to access the passwords database. Enter the password that will be used to access the c.kdbx file in the MasterPassword field.

You can change the default location of the c.kdbx file in the Database field. To import a c.kdbx file, click icon viewMode and select Import from the drop-down menu, or click browseButton and specify the path to a local file containing your passwords. If you want to remove the existing passwords from the database, select Clear.

  1. Do not save, forget passwords after restart: select this option if you want your passwords to be reset after you close PhpStorm.

系统默认的是第一种,也就是native keychain (本地钥匙链)






您的电子邮箱地址并不会被展示。请填写标记为必须的字段。 *