I am having issues with committing changes to my gear. I have tried to run rhc setup, I also deleted my .ssh folder and executed rhc setup again but that also didnt work.
please check if you have changed to another account.
i encountered this problem when my account changed to root.
I am using ubuntu.
I solved this problem by the following cmds
rm ~/.openshift/ -rf
rm ~/.ssh/* -rf
rhc setup
and i encountered the following error:
chmod: 更改".git/FETCH_HEAD" 的权限: 不允许的操作
solved by :
sudo chmod 777 .git/FETCH_HEAD
then:
git pull
got:
Already up-to-date.
everything goes find.