Created
November 3, 2015 16:43
-
-
Save zstumgoren/e1a27c55f77d51c7ff10 to your computer and use it in GitHub Desktop.
r10k git errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/code/ruby/ap/devops/vmfarm/puppet/private> cd projects/ | |
~/code/ruby/ap/devops/vmfarm/puppet/private/projects> pwd | |
/Users/stumgoren/code/ruby/ap/devops/vmfarm/puppet/private/projects | |
~/code/ruby/ap/devops/vmfarm/puppet/private/projects> git branch -a | |
error: object directory /root/.r10k/git/https---git.ap.org-puppet-puppet-projects.git/objects does not exist; check .git/objects/info/alternates. | |
master | |
remotes/cache/master | |
remotes/origin/HEAD -> origin/master | |
remotes/origin/master | |
~/code/ruby/ap/devops/vmfarm/puppet/private/projects> git remote show | |
cache | |
origin | |
~/code/ruby/ap/devops/vmfarm/puppet/private/projects> git remote show origin | |
error: object directory /root/.r10k/git/https---git.ap.org-puppet-puppet-projects.git/objects does not exist; check .git/objects/info/alternates. | |
error: refs/heads/master does not point to a valid object! | |
error: refs/remotes/cache/master does not point to a valid object! | |
error: refs/remotes/origin/HEAD does not point to a valid object! | |
error: refs/remotes/origin/master does not point to a valid object! | |
error: refs/heads/master does not point to a valid object! | |
error: refs/remotes/cache/master does not point to a valid object! | |
error: refs/remotes/origin/HEAD does not point to a valid object! | |
error: refs/remotes/origin/master does not point to a valid object! | |
* remote origin | |
Fetch URL: https://git.ap.org/puppet/puppet-projects.git | |
Push URL: https://git.ap.org/puppet/puppet-projects.git | |
HEAD branch: master | |
Remote branch: | |
master tracked | |
Local branch configured for 'git pull': | |
master merges with remote master | |
~/code/ruby/ap/devops/vmfarm/puppet/private/projects> git checkout master | |
error: object directory /root/.r10k/git/https---git.ap.org-puppet-puppet-projects.git/objects does not exist; check .git/objects/info/alternates. | |
fatal: reference is not a tree: master | |
~/code/ruby/ap/devops/vmfarm/puppet/private/projects> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting a similar error to line 5 after setting up r10k.