RC11 : Update to latest error
- FOG Version: 1.3 RC10
- OS: RedHat
- Service Version: v0.11.5
- OS: W10
I have a little problem to update to RC11.
I wanted to use the option “uptade to latest” with a git pull but something blok me :
[root@mfvml14 fogproject]# git pull
error: Your local changes to ‘lib/redhat/config.sh’ would be overwritten by merge. Aborting.
Please, commit your changes or stash them before you can merge.
[root@mfvml14 fogproject]# git log -1
Author: Tom Elliott firstname.lastname@example.org
Date: Fri Sep 9 08:46:42 2016 -0400
need to allow requestclientinfo.
can someone help me ?
Thx Wayne, your method worked I’m now in RC11
You can close this topic
Just delete the entire
fogprojectdirectory and re-clone, thats the simplest way to fix it. I don’t think you’re worried about stashing changes and such.
So, to remove a directory recursively, it’s
rm -rf fogproject
When you run that, don’t be in the fogproject directory, be one up from it. So if you ran the
lscommand, you would see
fogprojectas one of the items in your CWD.
After deleting, just re-clone quickly with:
git clone --depth 1 https://github.com/FOGProject/fogproject.git
That won’t pull everything, it’ll just pull the very latest version of the dev-branch, which is what you want. Then from here, you’d go into the new
fogprojectdirectory, and then into the
bindirectory as usual and run the installer as usual. You’d update as normal in the future.