Home / Companies / GitHub / Blog / Post Details
Content Deep Dive

Credential Caching for Wrist-Friendly Git Usage

Blog post from GitHub

Post Details
Company
Date Published
Author
Anaïs Betts
Word Count
292
Language
English
Hacker News Points
-
Summary

Smart HTTP support for GitHub offers a more user-friendly alternative to the SSH-based approach, particularly benefiting Windows users by allowing them to push changes using their GitHub username and password instead of setting up an SSH key. However, the need to repeatedly enter credentials can be cumbersome. To address this, a utility by Andrew Nurse leverages Git 1.7.9’s HTTPS Credential Caching to create a native password cache for Windows, eliminating the need to re-enter passwords until they change. This utility, compatible with GitHub and other repositories supporting Smart HTTP, is easy to install and comes with GitPad, which changes the default commit message editor to Notepad or another text editor. The utility requires different .NET Framework versions depending on the Windows version, while Mac users can utilize the native OS X credential cache APIs by enabling it through a simple command.