---
name: "git-clean-forge-repo"
section: "1p"
platform: "linux"
package: "libapi-gitforge-perl"
version: "0.007-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/git-clean-forge-repo"
---

# git-clean-forge-repo(1p)

create repos on git forges with optional features disabled

## NAME

git-clean-forge-repo - create repos on git forges with optional features disabled

## VERSION

version 0.007

## SYNOPSIS

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

## DESCRIPTION

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".

## EXAMPLE

```
    % 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.

## SEE ALSO

**git-clean-forge-fork**(1)

## AUTHOR

Sean Whitton \<spwhitton@spwhitton.name\>

## COPYRIGHT AND LICENSE

This software is Copyright (c) 2017, 2020 by Sean Whitton \<spwhitton@spwhitton.name\>.

This is free software, licensed under:

```
  The GNU General Public License, Version 3, June 2007
```
