Repository
From Rsewiki
(Difference between revisions)
(→Git repository) |
|||
(One intermediate revision by one user not shown) | |||
Line 4: | Line 4: | ||
=Git repository= | =Git repository= | ||
− | The git repository | + | 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) | ||
Line 41: | Line 41: | ||
git commit -m "commit message (i.e. what was changed)" | git commit -m "commit message (i.e. what was changed)" | ||
git push | git push | ||
+ | |||
+ | --[[User:Jca|Jca]] ([[User talk:Jca|talk]]) 12:58, 9 June 2018 (CEST) |
Latest revision as of 11:58, 9 June 2018
Back to Flexbot main page
[edit] 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
[edit] 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
[edit] 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