Fun times with Git

It’s wonderful seeing how people are finally using Git as the classes are now getting more advanced and source control becomes a pure necessity. I’m glad I got a head start, having been introduced to Git and GitHub early last semester at the Bloomberg Hackathon (thank you, Leon Z).

Today I spent about an hour learning random things about git as I fiddled around with cloning the source code for CS 4620. I originally did some mirroring, but found out that bare repositories provided no worktree, which turned out rather inconvenient. I decided to git clone the source code, then edited the remote path so that it would push to my own private repo, but still fetch from the coursestaff’s source code.

Here are the articles I used:

https://help.github.com/articles/duplicating-a-repository

http://stackoverflow.com/questions/15275338/when-doing-a-git-clone-mirror-where-are-the-actual-files

http://technosorcery.net/blog/2011/12/26/how-i-use-different-fetch-and-push-urls-in-git/

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