2. CodeMontage <3 Github
Our CodeFlow is heavily based on Github.
Github is a platform for hosted version control,
so basically a place to store your code and keep
track of changes in that code using git.
Github also encourages social coding, or when
people share and collaborate to do awesome
things with code.
3. In Git Land, a Project = a Repo
Repo; repository, basically a collection of code
managed by git (our version control system of
choice).
CodeMontage projects generally have 3 repos:
original Cause/coolproject
fork > CodeMontage/coolproject
fork > You/coolproject
CodeMontage
4. Setting Up Your Repo
Your most important first step is to create your
own copy of the CodeMontage project by forking
the project, thus creating
fork > You/coolproject
This fork is your remote repository ("remote"
because it's on Github, not your computer). You
can bring it to your computer by cloning and
push code to it by adding it as a remote repo.
CodeMontage
5. Making Changes
Once you've cloned your Github fork,
fork > You/coolproject
you'll have a local repository to work with.
By default, your project will be on the master
branch. You can work from there, or create a
branch associated with your current work,
$ ~/coolproject: git checkout -b challenge1
CodeMontage
6. Submitting Changes
Once you've completed your challenge locally,
you can view it on Github by pushing to your
remote repository.
$ ~/coolproject: git push origin master
fork > You/coolproject
Then, submit to CodeMontage by creating a Pull
Request from your fork to the CodeMontage
repository.
CodeMontage