Skip to content

Lesson2b VersionControl

Katy Huff edited this page Feb 9, 2012 · 15 revisions

Version Control : Collaborative Workflow on GitHub

Back To Local Version Control - [[Forward to Python Shell and Variables | Python1-ShellAndVariables]]

github.com?

GitHub is a place where many people store their open (and not open) source code repositories.

Setting up github at first requires [[some setup | http://help.github.com/set-up-git-redirect]].

~.gitconfig

Once you've set up your rsa keys, you need to tell github who you are. Crack open a terminal.

$ git config --global user.name "Firstname Lastname"
$ git config --global user.email "[email protected]"

Unless your name is Firstname Lastname, please don't copy the above lines verbatim. Make the appropriate substitutions.

If you did this properly, you'll have a file in your home (~) directory that's called .gitconfig . It's contents should look like :

::
[user]
name = Katy Huff email = [email protected]

Forking

Exercise : Fork Our GitHub Repository

While you probably already have a copy of the PyTrieste repository, GitHub doesn't know about it yet. You'll need to tell github you want to have an official fork of this repository.

Clone this wiki locally