Differences between revisions 1 and 2
Revision 1 as of 2019-12-14 13:14:15
Size: 426
Comment: Create GitWeb page with a stub.
Revision 2 as of 2019-12-14 13:44:36
Size: 981
Comment: Add section: HTTP basic auth
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
=== 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.

Simple Git Hosting (GitWeb)

GitWeb provides Git repository hosting on FreedomBox. It provides a simple web interface to perform common actions like viewing files, diffs, commit messages etc.

Available since version: 19.19

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.

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.