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.git
repo and same is cloned under/usr/src/kodekloudrepos/media
to add updates. Recently some changes were made on Git server that is hosted onStorage
server
inStratos DC
. Basically DevOps team added some new Git remotes so we need to update remote on/usr/src/kodekloudrepos/media
repository as per details mentioned below:a. In
/usr/src/kodekloudrepos/media
repo add a new remotedev_media
and point it to/opt/xfusioncorp_media.git
repository.b. There is a file
/
tmp/index.html
on same server, copy this file to the repo and add/commit to master branch.c. Finally push
master
branch 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