MPS 2019.3 Help

Git

Before you start

Before you can enable Git version control for an existing local project, or clone a Git project from a remote repository, do the following:

  1. Download and install Git. The minimal supported version is 2.4 for Windows and 1.8.0.0 for Linux and MacOS.

  2. In the Settings/Preferences dialog Ctrl+Alt+S, select Version Control | Git in the left pane and specify the path to the Git executable. For example, the default path on Windows can be C:\Program Files\Git\bin\git.exe and on macOS /usr/local/git/bin/git. If MPS cannot discover the default path to Git, you might have installed it in an alternative location.

  3. Set passwords for remote Git repositories

Set passwords for Git remotes

Every time you interact with a remote Git repository (for example, during a pull, update, or push operation), it requires authorization. You can configure MPS to remember your passwords, so that you do not have to specify your credentials each time authorization is required.

Configure a password policy

  1. In the Settings Preferences dialog Ctrl+Alt+S, select Appearance and Behavior | System Settings | Passwords on the left.

  2. Select how you want MPS to process passwords for Git remote repositories:

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

    • 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 MPS 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 the Settings icon and select Import from the drop-down menu, or click the Browse button and specify the path to a local file containing your passwords.

      If you want to remove the existing passwords from the database, select Clear.

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

Last modified: 28 February 2020