Credential Caching for Wrist-Friendly Git Usage
Smart HTTP is The Future™ A while back, we launched Smart HTTP support for GitHub; this transport for pushing changes to GitHub has a number of benefits over the SSH-based…
Smart HTTP is The Future™
A while back, we launched Smart HTTP
support for GitHub; this
transport for pushing changes to GitHub has a number of benefits over the
SSH-based approach, especially for Windows users. The biggest benefit is,
instead of setting up an SSH key, you can just type your GitHub username and
password.
Credential Caching in Git – Don’t Make Me Type!
However, this approach has always had one major drawback – you have to type
your username / password every time, which can get to be a little annoying.
One of our users, Andrew Nurse, has come up with a
great utility that utilizes Git 1.7.9’s HTTPS Credential
Caching support to
provide a native password cache for Windows.
With this tool installed, you will only have to type your password once,
until you change it. This utility is compatible with GitHub, as well as
any other Git repository that supports the Smart HTTP protocol.
Installing the application is easy – just unzip it and double-click the EXEs.
Included along with this zip file is
GitPad,
another helpful utility that changes the Git default commit message editor to
whatever your system uses to edit text files (usually Notepad).
-
git-credential-winstore and
GitPad
for Windows Vista / Windows 7 (.NET 3.5 required) -
git-credential-winstore and
GitPad
for Windows 8 (.NET 4.0 required) - The git-credential-winstore source code
(Note that there is no functional difference between the two, only .NET
Framework versions)
Where’s the Mac version?
Git Core ships the source code to a sample credential store that uses the
native OS X credential cache APIs. Grab the binary
here,
put it in /usr/local/bin
, and run the command git config --global credential.helper osxkeychain
to enable it.
Written by
Related posts
![](https://github.blog/wp-content/uploads/2023/10/Collaboration-DarkMode-2.png?resize=400%2C212)
2024 is the biggest global election year in history. What’s at stake for developers?
GitHub is considering what is at stake for our users and platform, how we can take responsible action to support free and fair elections, and how developers contribute to resilient democratic processes.
![](https://github.blog/wp-content/uploads/2023/10/AI-DarkMode-2.png?resize=400%2C212)
GitHub named a Leader in the Gartner first-ever Magic Quadrant for AI Code Assistants
This year, as part of its annual Magic Quadrant series, Gartner published a first-of-its-kind report analyzing the state of play in the AI Code Assistants market–and named GitHub a Leader.
![AI in software development 2024 survey results with colorful graphics and percentages.](https://github.blog/wp-content/uploads/2024/08/ai-survey-header.png?resize=400%2C212)
Survey: The AI wave continues to grow on software development teams
We surveyed 2,000 people on software development teams at enterprises in the U.S., Brazil, India, and Germany about the use, experience, and expectations around generative AI tools in software development.