computer:docker:git_gogs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computer:docker:git_gogs [2023/11/21 08:36] springcomputer:docker:git_gogs [2024/02/08 08:07] (current) – [Git / Gogs in Docker] spring
Line 1: Line 1:
 ====== Git / Gogs in Docker ====== ====== Git / Gogs in Docker ======
 +  * https://pleasantprogrammer.com/posts/ssh-git-repo-docker.html
 +
   * https://www.ateijelo.com/blog/2016/07/09/share-port-22-between-docker-gogs-ssh-and-local-system   * https://www.ateijelo.com/blog/2016/07/09/share-port-22-between-docker-gogs-ssh-and-local-system
   * https://medium.com/@jonas.d.isberg/gogs-drone-using-docker-compose-49b50e0fc6f8   * https://medium.com/@jonas.d.isberg/gogs-drone-using-docker-compose-49b50e0fc6f8
Line 8: Line 10:
   * https://kbroman.org/github_tutorial/pages/first_time.html   * https://kbroman.org/github_tutorial/pages/first_time.html
   * https://rogerdudler.github.io/git-guide/   * https://rogerdudler.github.io/git-guide/
 +
 +====== 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 )
 +
  • computer/docker/git_gogs.1700555776.txt.gz
  • Last modified: 2023/11/21 08:36
  • by spring