This is an old revision of the document!
Git / Gogs in Docker
Git allgemein
RCS zu git konvertieren
Als Grundlage haben wir https://github.com/Oblomov/rcs-fast-export verwendet.
ins Basis-Verzeichnis des zu konvertierenden Ordners wechseln
cd /FOO
# git initialisieren (die config-Optionen sind optional, aber nicht unsinnvoll)
git init
git config core.sharedRepository true
git config receive.denyCurrentBranch updateInstead
# die Konvertierung durchführen
rcs-fast-export.rb ./ | git fast-import
# optional: ggf. vor dem nächsten Schritt die ,v-Dateien löschen
find -name "*,v" -exec rm {} \;
# Abschlussarbeiten
git reset
git add .
git commit -m "Initial commit after convert from RCS to git"
( from https://hostblogger.de/blog/archives/6799-RCS-zu-git-konvertieren.html )