Skip to content

Instantly share code, notes, and snippets.

@tomoyukiinoue
Created November 30, 2012 02:14
Show Gist options
  • Select an option

  • Save tomoyukiinoue/4173349 to your computer and use it in GitHub Desktop.

Select an option

Save tomoyukiinoue/4173349 to your computer and use it in GitHub Desktop.
How to pass inputing the username and password when you push to the repository using https from mac os x.
$ git clone git://github.com/gitster/git
$ cd git/contrib/credential/osxkeychain
$ make
$ sudo cp git-credential-osxkeychain /usr/local/bin/git-credential-osxkeychain
$ sudo chmod 755 /usr/local/bin/git-credential-osxkeychain
$ sudo git config --global credential.helper osxkeychain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment