Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.

Git

Once per user, per computer: Name setup
git config --global user.name "[Firstname] [Lastname]"
git config --global user.email [your_address@cs.brown.edu]
Once: Initial repository setup

Make sure to fill in [team]. For us, they're all values of typefaces, such as helvetica, georgia, etc.

mkdir [team]
cd [team]
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:BrownCS148/[team].git
git push -u origin master
Once per repository: Cloning

First, put yourself in the parent directory for the git directory you would like to check out. (For instance, say you're in /home/me and clone helvetica.git. Then, your repository will be under /home/me/helvetica.). Then:

git clone git@github.com:BrownCS148/[team].git
Important git commands: Learn how to use these!

Some references to “git” you started:

git add [files]
git commit
git push
git pull
git branch [branchname]
repository_setup.txt · Last modified: 2011/09/18 20:12 by kayle
Trace: repository_setup
Dieses Dokuwiki verwendet ein von Anymorphic Webdesign erstelltes Thema.
CC Attribution 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0