News for hackers. Stuff that matters.
Re:GitHub was down again by rovr138 on Wednesday July 15, 2020 @02:24PM (#23849438)
I posted this on another thread. If you only want the commits, something like this works,

    ssh [email protected]
    mkdir project-1.git
    cd project-1.git
    git init —-bare
    exit
    git remote add alternate [email protected]:project-1.git
All you need is SSH
Re:GitHub was down again by judge2020 on Wednesday July 15, 2020 @02:28PM (#23849496)
All you need to get all commits and all tags/branches:

  git clone --mirror https://github.com/you/repo
Push those to another server:

  git remote add new https://gitlab.com/you/repo
  git push --mirror new
Re:GitHub was down again by kenniskrag on Wednesday July 15, 2020 @02:27PM (#23849475)
I use it also that way. Gitlab does the same if you use ssh. They provide hooks on init so that gitlab knows if something happens.