-
Migrating GitLab Projects to GitHub
I’m currently working on a large project in need of modernization. Amongst the various threads of technical debt, the project as inherited has its source code hosted on a self-hosted GitLab Enterprise server. The organization wishes to converge on GitHub Enterprise (cloud, not self hosted) as its source control solution, and so I was tasked…
-
Checking out GitHub pull requests to a local branch
After some trial and error, here’s how I check out Github pull requests to a local branch with tracking. Edit .git/config, add the following line in the section for the desired remote. Ensure to add it before the existing line for remote branches, e.g. Run git fetch and see all the new remote “branches” appear.…