Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2019-12-14 13:14:15
Size: 426
Comment: Create GitWeb page with a stub.
Revision 5 as of 2020-01-27 09:50:21
Size: 1950
Editor: ?VeikoAasa
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
!GitWeb provides Git repository hosting on !FreedomBox. It provides a simple web
interface to perform common actions like viewing files, diffs, commit messages etc.
Git is a distributed version-control system for tracking changes in source code during software development. !GitWeb provides a web interface to Git repositories. You can browse history and content of source code, use search to find relevant commits and code. You can also clone repositories and upload code changes with a command-line Git client or with multiple available graphical clients. And you can share your code with people around the world.

To learn more on how to use Git visit [[https://git-scm.com/docs/gittutorial|Git tutorial]].
Line 7: Line 8:

=== Managing the repositories ===

After installation of !GitWeb, a new repository can be created. It can be marked as ''private'' to limit access.

=== Access ===

!GitWeb can be accessed after installation e.g. by the web client through https://<my_freedombox_name>/gitweb



=== HTTP basic auth ===

!GitWeb on !FreedomBox currently supports HTTP remotes only. To avoid
having to enter the password each time you pull/push to the repository, you can
edit your remote to include the credentials.

''Example:'' https://username@password:my.freedombox.rocks/gitweb/myrepo

Your username and password will be encrypted. Someone monitoring the network traffic will notice the domain name only.<<BR>>
'''Note:''' If using this method, your password will be stored in plain text in the local repository's .git/config file. For this reason, you should create a FreedomBox user who has only access to the gitweb and not to use an admin account.
Line 12: Line 35:


## END_INCLUDE

Back to [[FreedomBox/Features|Features introduction]] or [[FreedomBox/Manual|manual]] pages.


<<Include(FreedomBox/Portal)>>

----
CategoryFreedomBox

Simple Git Hosting (GitWeb)

Git is a distributed version-control system for tracking changes in source code during software development. GitWeb provides a web interface to Git repositories. You can browse history and content of source code, use search to find relevant commits and code. You can also clone repositories and upload code changes with a command-line Git client or with multiple available graphical clients. And you can share your code with people around the world.

To learn more on how to use Git visit Git tutorial.

Available since version: 19.19

Managing the repositories

After installation of GitWeb, a new repository can be created. It can be marked as private to limit access.

Access

GitWeb can be accessed after installation e.g. by the web client through https://<my_freedombox_name>/gitweb

HTTP basic auth

GitWeb on FreedomBox currently supports HTTP remotes only. To avoid having to enter the password each time you pull/push to the repository, you can edit your remote to include the credentials.

Example: https://username@password:my.freedombox.rocks/gitweb/myrepo

Your username and password will be encrypted. Someone monitoring the network traffic will notice the domain name only.
Note: If using this method, your password will be stored in plain text in the local repository's .git/config file. For this reason, you should create a FreedomBox user who has only access to the gitweb and not to use an admin account.

Mirroring

Though your repositories are primarily hosted on your own FreedomBox, you can configure a repository on another Git hosting system like GitLab as a mirror.

Back to Features introduction or manual pages.


Intro

Information

Support

Contribute

Reports

Promote

Vision

Hardware

Live Help

Where To Start

Translate

Calls

Talks

Overview

Download

Q&A

To Do

Design

Releases

Press

Features

Manual

Contributors

Code

Blog

FreedomBox for Communities

FreedomBox Developer Manual

HELP & DISCUSSIONS: Discussion Forum - Matrix - Mailing List - #freedombox irc.debian.org | CONTACT Foundation | JOIN Project

Next call: Saturday, April 13 at 14:00 UTC

This page is copyright its contributors and is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.


CategoryFreedomBox