TortoiseGit remember password

Since we migrate our source control from SubVersion (SVN) to Git hosted on Bitbucket there was one thing that I thought was very very annoying. This is the fact the the Git client I use, because several people recommended it, TortoiseGit just won’t remember my password.

There are several ways to solve this “problem”, generation SSH keys, using different SSH clients combined with a text file that contains the username and password. But there is a much easier solution, in the URL of the repository:

https://username@bitbucket.org/team/repository.git

You can add the password after the username, separated by a colon “;”

https://username:password@bitbucket.org/team/repository.git

After this, TortoiseGit remembers the password and you’re happy.

Comments are closed.