Be Brave: If you use the new Brave browser for 30 days, they’ll fund us with a bonus! Here’s the link: https://brave.com/atv590

Public
Authored by AtjonTV

GitSync

This script has been made to make the creation of mirrors from gitlab.atvg-studios.at to github.com easier.

Dependencies

Basic Need:

  • Bash (4+)
  • Wget (1+)
  • Git (2+)

Recommended:

  • Bash (4.4+)
  • Wget (1.17+)
  • Git (2.18+)

From Source

Installation Script:

cd /tmp
wget https://gitlab.atvg-studios.at/snippets/15/raw -O gitsync.sh
mv gitsync.sh /usr/local/bin/gitsync
chmod +x /usr/local/bin/gitsync
gitsync -v

Available for:

  • Any Unix (+ macOS)
  • Any Linux
  • Windows 7+ (GitBash or Linux Sub-System)

Update Script:

gitsync upgrade

From Packages

Installation Script (Ubuntu 16.04 Xenial):

wget http://debsoft.osmium.software/debsoft.asc -O Release.key
sudo apt-key add - < Release.key
sudo sh -c "echo 'deb http://debsoft.osmium.software/ xenial/' > /etc/apt/sources.list"
sudo apt-get update
sudo apt-get install gitsync
gitsync -v

Available DebSoft's:

  • Ubuntu 16.04 (Xenial)
  • Ubuntu 18.04 (Bionic)
  • Debian 10 (Buster)

Update Script:

sudo apt-get update
sudo apt-get install gitsync
Edited
gitsync.sh 4.21 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment