Lost the root/admin password? You can reset it using the command-line. Recipe adapted from gitlab issue #308.
# start the console
sudo gitlab-rails console
rew search aptly | |
brew install aptly | |
brew install gpg | |
brew install wget | |
gpg --no-default-keyring --keyring trustedkeys.gpg --keyserver keys.gnupg.net --recv-keys 437D05B5 | |
aptly -architectures="amd64" -with-udebs=true mirror create precise-main-udeb http://us.archive.ubuntu.com/ubuntu precise | |
aptly mirror update precise-main-udeb | |
gpg --no-default-keyring --keyring trustedkeys.gpg --keyserver keys.gnupg.net --recv-keys 17ED316D | |
aptly -architectures="amd64" mirror create ceph-firefly http://ceph.com/debian-firefly precise main | |
aptly -architectures="amd64" mirror create ceph-extras http://ceph.com/packages/ceph-extras/debian/ precise main |
Lost the root/admin password? You can reset it using the command-line. Recipe adapted from gitlab issue #308.
# start the console
sudo gitlab-rails console
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |