Skip to content

kitofr/gitinar

Repository files navigation

< Hello Kristoffer thank's for the Cintinar!  >
 -----------------------
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

Gitinar -- Tim was here and checked this file out

Forking

  1. Read up on forking a repository on: http://help.github.com/fork-a-repo/

  2. Add the forked repository as a remote repository named "upstream"

    • What does your $ git remote say?
  3. Fetch the latest from [upstream]

Working/Collaborating

  1. Be creative! Create a couple of files, change this file and do some "funky" stuff.

    • What does $ git diff say?
  2. Check in

  3. Look at your commits with gitk

  4. Explore how to use $ git log and it's formats

Working with remotes

  1. Make some more changes

  2. Try to pull from [upstream]

  3. Commit

  4. Push your changes to github where did they end up?

Pull request

  1. Pull (or fetch/merge) from [upstream]

  2. Do you have to commit and push?

  3. Create a [pull request] on github (but first read this: http://help.github.com/pull-requests/)

  4. Interact on github on other pull requests and leave some comments on other commits

Extras

  • Investigate what else you can do on github.
    • Follow your fellow collegues and see what they are up to
    • Look for interesting projects to follow/fork
    • Help out!

Slides

About

A git tutorial for the Cint peepz

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published