Repository: Difference between revisions

From Rsewiki
Line 4: Line 4:
=Git repository=
=Git repository=


The git repository includes all project files. This includes:
The git repository holds all project files. This includes:
* 3D files (*.stl)
* 3D files (*.stl)
* Schematics (exported from and available through Upverter)
* Schematics (exported from and available through Upverter)

Revision as of 13:00, 16 July 2017

Back to Flexbot main page

Git repository

The git repository holds all project files. This includes:

  • 3D files (*.stl)
  • Schematics (exported from and available through Upverter)
  • Datasheets and documentation for all hardware components
  • Software for the Flexbot

Use this page to browse: https://repos.gbar.dtu.dk/gitweb/?p=jcan/flexbot.git;a=tree

Read only access

Get a copy of all

git clone git://repos.gbar.dtu.dk/git/jcan/flexbot.git

This should not ask for a username/password

Read write access

First get a copy of the repository (will be in a subdirectory called 'flexbot'.

git clone https://repos.gbar.dtu.dk/git/jcan/flexbot.git

Then to refresh the copy, go to the flexbot directory and say:

git pull

Adding new files

git add foo.cpp bar.h
git commit -m "commit message (i.e. what was changed)"
git push

After modifying files, this may be easier (there may be simpler ways, but then I don't know)

git add *.h *.cpp
git commit -m "commit message (i.e. what was changed)"
git push