Skip to content

Latest commit

 

History

History
141 lines (113 loc) · 3.13 KB

installation.md

File metadata and controls

141 lines (113 loc) · 3.13 KB

Installation

  1. Install git-team
    1. Golang
    2. Homebrew
    3. Debian / Ubuntu
    4. RedHat / CentOS / Fedora
    5. Void Linux
    6. Arch Linux
    7. Nix
    8. Make
  2. Setup Completion

Install git-team

Golang

For releases since v1.6.0.

go install github.com/hekmekk/git-team@latest

Homebrew

See homebrew-git-team for the formula.

  1. Add tap
brew tap hekmekk/git-team
  1. Install git-team

Install stable release. Use --HEAD in case you want to install from the latest commit.

brew install git-team

Debian / Ubuntu

apt / aptitude

  1. Pre-requisites
sudo apt install curl gnupg lsb-release

The debian package is made available via apt-sourc.es.

  1. Add apt-sourc.es GPG Key
curl -fsSL https://apt-sourc.es/admin/gpg.asc | sudo apt-key add -
  1. Setup the apt repository
echo "deb [arch=amd64] https://apt-sourc.es/deb/hekmekk/git-team stable main" | sudo tee /etc/apt/sources.list.d/git-team.list
  1. Update the apt package index and install git-team
sudo apt update && sudo apt install git-team
ansible-playbook git-team.yml --ask-become-pass

manually

  1. Download the latest release

  2. Install it manually

sudo dpkg -i /path/to/downloaded/release.deb

RedHat / CentOS / Fedora

ansible-playbook git-team.yml --ask-become-pass

manually

  1. Download the latest release

  2. Import git-team signing key

curl --silent https://api.github.com/users/hekmekk/gpg_keys | jq -r '.[] | select(.key_id == "12BB70967049E845") | .raw_key' > git-team-signing-key.asc
sudo rpm --import git-team-signing-key.asc
  1. Check if Signature is ok
rpm -v --checksig /path/to/downloaded/release.rpm
  1. Install
sudo rpm -i /path/to/downloaded/release.rpm

Void Linux

@steinex maintains the template.

sudo xbps-install git-team

Arch Linux

@lockejan maintains the AUR.

yay git-team-git
{ pkgs, ... }:
{
  # Either for all users
  environment.systemPackages = with pkgs; [ git-team ];

  # Or for an explicit user
  users.users."youruser".packages = with pkgs; [ git-team ];
}

Make

make
sudo make install

Setup Completion

Check if a script is available for your shell

git-team completion

Source the appropriate script, e.g.:

source <(git-team completion bash)