-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upgrade manually according to doc #1772
Comments
Hmm - what does |
$ git remote prints just
Dont remember how I installed nvm so cant answer that. |
What is |
2.17.0 |
editadded second system experiencing the same issues Seeing the exact same behavior as @binarykitchen on my systems system 1
system 2
|
And in the git repo (on all three systems described above), what does |
can't test my debian system until i'm home, but the centos system prints out the same error: [USER@HOSTNAME .nvm]$ git describe origin
fatal: Not a valid object name origin |
same here
|
That's very confusing. If you |
centos system, straight from the terminal [USER@HOSTNAME .nvm]$ git status
# Not currently on any branch.
nothing to commit, working directory clean
[USER@HOSTNAME .nvm]$ git fetch
[USER@HOSTNAME .nvm]$ git describe origin
fatal: Not a valid object name origin |
Ok, next try :-) |
coming right up [USER@HOSTNAME .nvm]$ git fetch --unshallow
remote: Counting objects: 6396, done.
remote: Compressing objects: 100% (2410/2410), done.
remote: Total 6396 (delta 4191), reused 6156 (delta 3951), pack-reused 0
Receiving objects: 100% (6396/6396), 1.88 MiB | 0 bytes/s, done.
Resolving deltas: 100% (4191/4191), completed with 173 local objects.
[USER@HOSTNAME .nvm]$ git describe origin
fatal: Not a valid object name origin |
Well crap, i thought that might do it. I’m still not sure what’s going on; I’ll think more on it. |
I guess this may be a wrong usage, man page of Usage like out Makefile is correct: @old_ver=`git describe --abbrev=0 --tags --match 'v[0-9]*.[0-9]*.[0-9]*'` || { echo "Failed to determine current version." >&2; exit 1; }; old_ver=$${old_ver#v}; \ |
@binarykitchen @joshsleeper would you like to try the revised version here? Hope it'll work for you! |
Argh... So I was pretty sure #1786 fixed things, but here I am on |
You might need a |
yes, works now |
nope, on git update 1through some testing on my own box (completely remove (
cd "$NVM_DIR"
git fetch --tags origin
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
) && \. "$NVM_DIR/nvm.sh" the key detail being the update 2 |
Tried the following from your docs to upgrade nvm manually
but that prints me a git error:
The text was updated successfully, but these errors were encountered: