love mercurial
Eh, some days I do, some days I don’t.
love mercurial
Eh, some days I do, some days I don’t.
Thanks. As you can see this is not an area I have kept up with.
Just as an FYI follow-up to the GitLab suggestion, if you’ve got personal projects in GitHub (or really, anything that doesn’t rely on team buy-in) that you want to extract, GitLab has a built-in tool on their website for importing GitHub projects, complete with commit history and everything.
And git itself has built-in commands to do this
Add remote?
A co-worker of mine wanted to truncate our repos because we were migrating to a different server. I just told him not today.
Well, once you import your stuff to GutLab you do still need to do the whole git set-remote origin
song and dance on your device, but the GitLab website makes it super easy to import all of your history and such. Even most of your project accoutrements (not sure if it does issues, since none of my personal things have any open).
Just set remote-origin then push
But since you would have to have set up the project on GitLab to begin with, why not just use the importer that they provide which, as I just said, also imports other components of your GitHub project as well?
I’m going to be moving my projects to sourcehut: https://sourcehut.org/blog/2021-01-13-regarding-ethics/
Most of that importer is just making a bare repository, then pushing with the ‘–mirror’ option, or ‘git archive’ then unzipping it…
Not that having it done automatically isn’t nice
interesting link there about gitlab. not as evil as what just happened at github, but still…