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 #1984
Comments
👍 I'm experiencing this as well… |
Same here |
I got the same problem. How can I fix this ? |
I have the same Problem, what can i do? |
Navigate into your .oh-my-zsh directory and do a 'git status' to see if there are any changes you made to existing files. If there are, I think you'll have to revert those changes before you can update. |
I already fixed this, try delete the option “—rebase” in tools/upgrade.sh |
|
did't work for me. there are some conflicts and I have to fixe them manually |
It is happening most likely because you have edited something in your .oh-my-zsh directory but you have not committed it.
You should be able to upgrade now. Optional: After step 2, you may be able to just run "git commit -a -m " which should stage all the unstaged files and commit those changes (combining step 3 and 4). This worked for me and I hope it works for someone else too. No quotes or <> in those commands ( just in case (: ) |
@ODelibalta I've done this without success. there are some conflicts. How can i force this rebase? |
Try
and then run the upgrade and then
after that to get your changes back. |
I got it. I just solve some conflicts and the git rebase --continue. |
If it is acting out on merges, I think it is best to look at what the conflict is and go from there. There may be something of more importance that the changes done on your local master branch. If you do not want to do that, use the stash commands. It basically takes a snapshot of the changes and reverts your branch (the one where the head is) to the state where there are no unstaged changes. After you stash your unstaged files on the side, run the update and then run git stash apply which should apply the stash over the files. http://git-scm.com/book/en/Git-Tools-Stashing I still suggest to first take a look at the merge conflicts and see how important they are compared to what you have. |
I have this problem without unstaged changes in my directory... Meanwhile I just deleted the directory and recloned it. |
Closing this per #2568. |
I try the way that delete the option “—rebase” in tools/upgrade.sh.later update oh-my-zsh,success get the new type.Later understand the more better way is "cd .oh_my_zsh"->"git add ."->"git commit -m "change setting" "->so you should can update oh-my-zsh |
Same problem... One liner fix. cd "$ZSH" && git stash && upgrade_oh_my_zsh |
Thanks russelBradley 👍 |
The one liner solved my issue. Thank you RussellBradley! |
Thanks russelBradley 👍 |
And don't forget to |
Thanks @RussellBradley - that works! |
@ODelibalta It works! thank you! |
|
Thanks russelBradley 👍 |
Thanks @RussellBradley 👍 |
if any of the above does not work for you try this cd ~/.oh-my-zsh
git config core.filemode false |
Thanks russelBradley ! |
Thanks @RussellBradley |
Thanks russelBradley ! |
Thanks @RussellBradley. |
I happen to be working on a Windows 10 ubuntu bash, so the git changes I had were correlated to running After successfully updating, you might want to run cd $ZSH
find . -type f -print0 | xargs -0 dos2unix To fix errors correlated to the |
Improved one-line solution: cd "$ZSH" && git stash && upgrade_oh_my_zsh && git stash pop |
Thanks @RussellBradley |
@ODelibalta is right if you concern your changes.. 1. Navigate to the and then upgrade zsh via |
Don't forget pop or you'll loose the changes to your themes.
|
Why there is no option to do this automatically? |
For those who are getting here when using babun on Windows, I recommend using @kayoub5's method for fixing this (copied below):
Then just let it run the next update. |
My issue on OSX was I had a |
Had similar experience with
|
The file |
It just an opinion, but it would help if after the error message is added a new line with a text like "(Oh My Zsh git repo): ~/.oh-my-zsh" so people like me and most people that like this project but are not maintainers nor *Zsh experts don't have to google it. |
Thanks is worked @RussellBradley |
Thanks @RussellBradley |
Thanks @RussellBradley !! |
Caused by mackup operation. If you confirm to ignore all changes mackup made. |
Have tried |
You can add the problem file or folder at .gitignore |
Where are putting your custom plugins that it causes a problem? |
Go to solution
The text was updated successfully, but these errors were encountered: