GIT manage remotes 2

Hi guys, can anyone tell me what is wrong here ?

I added the remote repo as the task required, but at the end it changed the path … strange…

There’s only one command in your history where you changed the remote

git remote add dev_media /usr/src/kodekloudrepos/media

which is exactly why your dev_media remote points to that path. You never changed the origin remote. origin points to /opt/media.git, so I’m assuming that the repo was cloned from there.

I don’t know what your assignment was, although I can see from the validation message that some remote needs to point to /opt/xfusioncorp_media.git. Nowhere in your command history did you use that path.

1 Like

thanks, i realized that a bit late