Cloning and update your project to github

You could automate the process of pushing modifications to github, then you won’t need to enter your user and password all the time.

This guy at http://amaras-tech.co.uk/article/159/Using_Github_behind_a_restrictive_firewall almost get there, he edited the .git/config and add:

url = https://morganp@github.com/morganp/maruku_snippet.git

And put this statement: “Entering your password will still be required.”

But don’t worry, fortunately he is wrong, you could just use:

url = https://morganp:yourpassword@github.com/morganp/maruku_snippet.git

Note: putting your password at .git/config is very unsecure, then you should at least change this file permission in order to avoid other user sharing your computer has access to it:

$ chmod 600 .git/config

One thought on “Cloning and update your project to github

  1. Hurrah, that’s what I was searching for, what a information! existing here at this web site, thanks admin of this site.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s