Hello,
Can somebody please help me out what am I doing wrong?
xFusionCorp development team was working on a project that is maintained under
/opt/media.gitrepo and same is cloned under/usr/src/kodekloudrepos/mediato add updates. Recently some changes were made on Git server that is hosted onStorageserverinStratos DC. Basically DevOps team added some new Git remotes so we need to update remote on/usr/src/kodekloudrepos/mediarepository as per details mentioned below:a. In
/usr/src/kodekloudrepos/mediarepo add a new remotedev_mediaand point it to/opt/xfusioncorp_media.gitrepository.b. There is a file
/tmp/index.htmlon same server, copy this file to the repo and add/commit to master branch.c. Finally push
masterbranch to this new remote origin.
I did the following:
- cd /usr/src/kodekloudrepos/media
 - git remote add dev_media /opt/xfusioncorp_media.git
 - cp /tmp/index.html .
 - git init
 - git add index.html
 - git commit -m “add index.html”
 - git push origin master
 
I got the error:
Seems like required data was not pushed to the new remote ‘dev_news’ on Storage server