Get source code: Difference between revisions

From KolibriOS wiki
Jump to navigation Jump to search
m (Updated formatting and English a little bit.)
(Added a section about available GUI clients for git, replacing the previously described TortoiseSVN.)
 
Line 14: Line 14:
=== Linux ===
=== Linux ===


*Ubuntu
* Ubuntu
: <code>apt-get install git</code>
: <code>apt-get install git</code>
*Arch Linux
* Arch Linux
: <code>pacman -S git</code>
: <code>pacman -S git</code>


=== Mac OS ===
=== Mac OS ===


*Mountain Lion
* Mountain Lion
: Install the Command Line Tools for ''Xcode from Xcode -> Preferences -> Downloads''.
: Install the Command Line Tools for ''Xcode from Xcode -> Preferences -> Downloads''.
: Or download it directly from https://developer.apple.com/downloads/
: Or download it directly from https://developer.apple.com/downloads/
*Previous versions
* Previous versions
: Comes installed.
: Comes installed.


Line 33: Line 33:
== Get code ==
== Get code ==


*In a terminal, go to where you want to download the source code of KolibriOS.
* In a terminal, go to where you want to download the source code of KolibriOS.
*Now run the following and wait:
* Now run the following and wait:
: <code>git clone https://git.kolibrios.org/KolibriOS/kolibrios.git</code>
: <code>git clone https://git.kolibrios.org/KolibriOS/kolibrios.git</code>


Line 45: Line 45:
Remember that there are read-only mirrors of Git repository, you cannot commit to these repositories.<br>
Remember that there are read-only mirrors of Git repository, you cannot commit to these repositories.<br>
Please get write access to official Git repository if you wish to make contributions or make pull request from your local copy of repository!
Please get write access to official Git repository if you wish to make contributions or make pull request from your local copy of repository!
== Git GUI ==
If you find it more comfortable to work with Git through GUI, rather than a terminal, you can use the built-in git-gui or pick one of many GUI clients listed on the official website:
* https://git-scm.com/downloads/guis
In particular:
* [https://tortoisegit.org/ TortoiseGit] for Windows
* [https://gitlab.gnome.org/GNOME/gitg/ gitg] for Linux
* [https://gitnuro.com/ Gitnuro] for MacOS
Alternatively, you can use Git extensions for your favorite code editor, like [https://code.visualstudio.com/docs/sourcecontrol/overview Source control] in VSCode.


[[Category:Manuals]]
[[Category:Manuals]]
[[Category:Development]]
[[Category:Development]]

Latest revision as of 09:16, 27 January 2025

The KolibriOS developer team makes use of a central Git source code repository. It contains not only KolibriOS kernel and drivers, but also almost all programs and libraries that are present in this OS.

The repository is located https://git.kolibrios.org/KolibriOS/kolibrios.git

There are also read-only repository mirrors:

Keep in mind that these repositories are for checkouts only, not commits.

Installing Git

Linux

  • Ubuntu
apt-get install git
  • Arch Linux
pacman -S git

Mac OS

  • Mountain Lion
Install the Command Line Tools for Xcode from Xcode -> Preferences -> Downloads.
Or download it directly from https://developer.apple.com/downloads/
  • Previous versions
Comes installed.

Windows

Get code

  • In a terminal, go to where you want to download the source code of KolibriOS.
  • Now run the following and wait:
git clone https://git.kolibrios.org/KolibriOS/kolibrios.git

Git mirrors

As mentioned above, there are two official mirrors of central Git repository:

Remember that there are read-only mirrors of Git repository, you cannot commit to these repositories.
Please get write access to official Git repository if you wish to make contributions or make pull request from your local copy of repository!

Git GUI

If you find it more comfortable to work with Git through GUI, rather than a terminal, you can use the built-in git-gui or pick one of many GUI clients listed on the official website:

In particular:

Alternatively, you can use Git extensions for your favorite code editor, like Source control in VSCode.