menu
Menu
Drakon.Tech logo
Drakon.Tech
Open IDE
DocumentationProgramming in DRAKONTutorialsTutorial 1. Hello world!Tutorial 2. Variables and functionsTutorial 3. Basic flow controlTutorial 4. ChoiceTutorial 5. For each loopTutorial 6. The arrow loopTutorial 7. SilhouetteTutorial 8. Lambdas and exceptionsTutorial 9. ModulesTutorial 10. Concurrent programming with scenariosTutorial 11. Working with source controlExamplesLibrariesThe source code

Tutorial 11. Working with source control

Writing code without git or some other source control system should sound scary. We must have a way to go back in time and see how our codebase used to look. With Drakon.Tech, we can make a backup copy of our project and then restore the backup.

How to commit the project in its current state to source control

  1. Right-click on the project in the tree view, then choose Save to file.
  2. The browser will download a zip file.
  3. Add and commit this zip file to your source control.
How to save a project to file

Drakon.Tech saves all modules in the selected project to the backup file.

How to restore a project committed to source control in the past

  1. In source control, check out the revision you want to restore.
  2. Right-click on the project in the tree view, then click Load from file.
  3. Choose the zip file previously committed to source control.
How to load a project from file

Note that Drakon.Tech will overwrite all content in the project when loading a backup.

close
Close
Drakon.Tech logo
Drakon.Tech home
Programming in DRAKONTutorialsExamplesLibrariesThe source code