Strict Standards: Declaration of action_plugin_safefnrecode::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/brownrob/public_html/cs148/lib/plugins/safefnrecode/action.php on line 14

Strict Standards: Declaration of action_plugin_popularity::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/brownrob/public_html/cs148/lib/plugins/popularity/action.php on line 57

Warning: Cannot modify header information - headers already sent by (output started at /home/brownrob/public_html/cs148/lib/plugins/safefnrecode/action.php:14) in /home/brownrob/public_html/cs148/inc/auth.php on line 352

Warning: Cannot modify header information - headers already sent by (output started at /home/brownrob/public_html/cs148/lib/plugins/safefnrecode/action.php:14) in /home/brownrob/public_html/cs148/inc/actions.php on line 180
repository_setup – Introduction to Autonomous Robotics
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