git-clean-forge-repo(1p)

git-clean-forge-repo1p

Create repos on git forges with optional features disabled

Usage

git clean-forge-repo [--remote=REMOTE]

Version

version 0.007

Overview

Creates repos on git forges like GitHub and GitLab, and disables all optional features of those forges. Useful for when you want to use the forge only as an ordinary git host, and nothing more.

Options

--remote=REMOTE

Specify the name of the git remote you will use to push changes to the repository created by this script. You should already have created this git remote; see "EXAMPLE" below. Defaults to "origin".

Examples

    % git init
    % # work on new project
    % git remote add origin https://salsa.debian.org/spwhitton/foo
    % git clean-forge-repo
    % git push -u origin master

Files

$XDG_CONFIG_HOME/.config/gitforge/access_tokens/DOMAIN

Where DOMAIN is the domain name of the git forge (e.g. "github.com", "salsa.debian.org"), this file should contain an API access token to log in to your account at the git forge. If unset, $XDG_CONFIG_HOME defaults to ~/.config.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Sean Whitton <[email protected]>

From libapi-gitforge-perl 0.007-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.