The Azimuth Project
Using git and github (Rev #1, changes)

Showing changes from revision #0 to #1: Added | Removed | Changed

Here is some help for those new to git and github.

  • get an account at github.

  • install git on your computer

  • start Git Bash

  • create a directory for Azimuth code, and cd to it in Git Bash.

  • This downloads one of the Azimuth repositories (PredatorPreySDE) into the directory (gittest3):

    Work@FEB2012-PC ~/AAA/Programming/gittest3
    $ git clone
    Cloning into 'PredatorPreySDE'...
    remote: Counting objects: 18, done.
    remote: Compressing objects: 100% (13/13), done.
    remote: Total 18 (delta 4), reused 17 (delta 3)
    Unpacking objects: 100% (18/18), done.
    Checking connectivity... done.
  • cd into the repository:

    $ cd PredatorPreySDE/
  • make a file (test2.txt) in the local repository (in PredatorPreySDE)

  • add it to git:

    $ git add test2.txt
  • look what you’ve done:

    $ git status
    On branch master
    Your branch is up-to-date with 'origin/master'.
    Changes to be committed:
    (use "git reset HEAD <file>..." to unstage)
          new file:   test2.txt
  • commit your new file locally:

    $ git commit -m "this is a test"
    [master 68a9bfa] this is a test
    1 file changed, 1 insertion(+)
    create mode 100644 test3.txt
  • push your new file to the Azimuth repository. For this to work, you need to be added to azimuth-project.

    $ git push
    warning: push.default is unset; its implicit value is changing in
    Git 2.0 from 'matching' to 'simple'. To squelch this message
    and maintain the current behavior after the default changes, use:

    (the rest of this warning truncated)

  • This is what success looks like for user Graham853:

    Username for '': Graham853
    Password for '':
    Counting objects: 4, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (2/2), done.
    Writing objects: 100% (3/3), 277 bytes | 0 bytes/s, done.
    Total 3 (delta 1), reused 0 (delta 0)
     320b36d..68a9bfa  master -> master