Jump to content

Git repository move

From postmarketOS Wiki

We have moved from gitlab.com to gitlab.postmarketos.org. See this blog post for reasoning.

Newer pmbootstrap versions should automatically configure the repository changes for you, but if not, please configure your git repositories to point to the new location by editing .git/config in your pmbootstrap (or other postmarketOS git repository) folder.

Simply replace gitlab.com with gitlab.postmarketos.org, then run:

$ git checkout master
$ git pull

If this fails run:

$ git merge --abort
$ git reset --hard origin/master

If that does not work for whatever reason, you can also delete your pmbootstrap folder and do a fresh clone:

$ rm -r $HOME/.local/var/pmbootstrap
$ pmbootstrap init