Additional Github notes

If Github is being stubborn you can always use :

git push -f origin <branch>

This will force it to push to the current branch.

Found this blog helpful for merging github master and gh-pages branches.

http://lea.verou.me/2011/10/easily-keep-gh-pages-in-sync-with-master/

git log –stat Will show changes made from each commit.

git diff  name of commit name of commit See differences made from each commit.

git clone url to clone repository

 

Advertisements

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 )

Google+ photo

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

Connecting to %s