Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation from source code
Components
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
How To Change the Tab Order of GUI Controls
How To Contribute
How to Create and Open a ".gmail.txt" Archive
How to deal with Git and Gitlab concerning your Project
How to deal with Git and Gitlab for Gambas
How To Deal With Subversion for Gambas
How To Display a Chinese Character
How To Draw with gb.Cairo
How To Enter Data With gb.db.form
How To Get Gambas Web Started (1)
How To Get Started
How To Interface Gambas With External Libraries
How To make a chart with the gb.chart component
How to make a report with Gambas
How To Make KDE Run Gambas Executables Automatically
How To Open, Debug & Compile The IDE
How To Open a MySQL connection and use it
How To Open a SQLite connection and use it
How To Open a Unix ODBC connection and use it
How To Package Gambas
How To Package your Project
How To Print
How to Run Gambas and Gambas Apps on Windows using WSL
How To Run Gambas On Windows using Cygwin
How To Translate A Gambas Project
How To Translate Gambas
How To Translate The Gambas IDE (deprecated)
How To Use Parallel Port
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

How to deal with Git and Gitlab concerning your Project

Author: Steffen Ploetz

This article is under construction!

Prerequisits

To interact with your desktop environment (call applications / tools, e.g. on the command line, or to open a terminal) Gambas requires the gambas3-gb-dbus package to be installed. It must not necessarily be registered to you project, but the IDE needs it.

Since there is no gambas3-gb-git package, I assume that all git commands are issued on the command line. This requires the git package to be installed on the system.

For convenience, I have also installed the GUI package gitg, but I'm sure you can do everything without it on the command line or with any other GUI package for git.

My way to git

I am not a git expert! I'm not even very familiar with the data structure or how git works! What I'm describing here is the approach that met my requirements.

The article How to deal with Git and Gitlab for Gambas explains some basics, but is generally targeted to the Gambas development. What I describe here is the approach to put a project, written with Gambas, under version control.

In the following, I assume that your project already contains the first functional classes and that you would like to place them under version control and work with version control from then on.

Gambas (at least Version 3.19.1) provides a Gambas IDE git integration (see also: How to deal with Git and Gitlab for Gambas section Gambas IDE git integration) within the Project | Put under version control menu.