Odoo 16 Development Book

Git

Git is generally utilized in software program improvement for source code management. It is a disbursed version control system, which means that each developer's laptop has got admission to the complete codebase and history, creating branching and joining simply. It is organized to handle a wide scope of jobs with speed and efficiency.

Git allows and facilitates the creation of several local branches completely separate from one another. It just brings seconds to create, merge, and delete.

After the installation of git, you can install any code from git.

Using the below command, you can install git.

sudo apt-get install git

Then you can get the latest development version via Git itself:

git clone https://github.com/git/git 

Through Git, we can track the changes in source code. It enables collaboration among several developers.

Basic Git Commands

Create Repositories

Create a local repo -

git init

Make changes

Add a file to staging -

git add

Commit all staged files to git -

git commit

List new or modified files not yet committed -

git status

parallel development

Add a file to staging -

git add

Merge all commits into one new commit-

git merge:

Rebase a branch onto another-

git rebase

sync repositories

Upload local content to the remote repo -

git push

Fetch the remote repo's copy of the current branch -

git pull

add default upstream repo -

git add origin

Odoo Repositories

All code of Odoo is hosted on GitHub. You could put up bugs/issues for strong versions right here. We get the right to access the codes from that repository, whether or not that is a private repo. You can additionally submit Pull Requests to signify a new feature (PR). We will create pull requests in preference to push immediately to GitHub.There are many repositories in Odoo. Let’s see some records on the central repositories of Odoo.

Odoo git It is a public repository that is a community edition of Odoo. Anyone can access the repository to refer to the codes for development.

Odoo Enterprise It is a private repository, an enterprise edition of Odoo. Only the authentic Odoo companions can get entry to the repository.

Odoo Dev It is an ongoing development repository. It's miles a public repository so that everybody can get the right of entry to it.

Odoo releases a new version every year. And there may be one major version and some minor versions. The minor versions are specifically used for the SAAS offerings. The main variations are 13.0, 14.0, 15.0,16.0, and so on. The minor versions like saas-14.1, saas-14.2, and so on. We are able to download the code for a specific version on the corresponding branches

location

Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry, Calicut
Kerala, India - 673635

location

London

Cybrosys Limited
Alpha House,
100 Borough High Street, London,
SE1 1LB, United Kingdom

location

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

location

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message