VTK/Git/Develop/Data

From KitwarePublic
< VTK‎ | Git‎ | Develop
Revision as of 21:28, 18 February 2013 by Brad.king (talk | contribs) (Created page with "This page documents how to add test data while developing VTK. See our table of contents for more information. __TOC__ =Setup= {| style="width: 100%" |- |width=60%| ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page documents how to add test data while developing VTK. See our table of contents for more information.

Setup

Clone the VTKData repository:

$ git clone git://vtk.org/VTKData.git
$ cd VTKData

Connection refused?

Configure the ssh protocol pushurl:

$ git config remote.origin.pushurl git@vtk.org:VTKData.git

git help config

Configure the local master branch to rebase on pull:

$ git config branch.master.rebase true

git help config

Update

To update a clone with the latest changes run

$ git checkout master
$ git pull

git help checkout

git help pull

Add Data

To add new data simply place it at the desired location in the work tree and tell Git to add it, commit, and push:

$ cp ~/myimage.png Data/myimage.png
$ git add Data/myimage.png
$ git commit
$ git push origin master

git help add

git help commit

git help push