The xFusionCorp development team added updates to the project that is maintained under /opt/ecommerce.git
repo and cloned under /usr/src/kodekloudrepos/ecommerce
. Recently some changes were made on Git server that is hosted on Storage server
in Stratos DC
. The DevOps team added some new Git remotes, so we need to update remote on /usr/src/kodekloudrepos/ecommerce
repository as per details mentioned below:
a). In /usr/src/kodekloudrepos/ecommerce
repo add a new remote dev_ecommerce
and point it to /opt/xfusioncorp_ecommerce.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.
Now Ive solved this but I am a bit confused at a) and what really happens when I execute this command "git push -u dev_ecommerce master" I was expecting to find the file index.html at /opt/xfusioncorp_ecommerce.git since it points there. Then I think that it is a remote repo and represents /usr/src/kodekloudrepos/ecommerce but I dont know what is the point of pointing to /opt/xfusioncorp_ecommerce.git? I
m really confused. Please for your support