Git Manage Remotes
Tasks
- Navigate to the - /usr/src/kodekloudrepos/mediadirectory.
- Add a new remote named - dev_mediapointing to- /opt/media.gitusing Git.
- Copy the file - /tmp/index.htmlinto the repository.
- Add the copied file to the staging area and commit it to the master branch. 
- Push the master branch to the new remote - dev_media.
Steps
1
ssh to storage server
ssh natasha@ststor013
Navigate to the /usr/src/kodekloudrepos/media directory.
cd /usr/src/kodekloudrepos/media4
Add a new remote named dev_media pointing to /opt/xfusioncorp_media.git using Git.
git remote add dev_media /opt/xfusioncorp_media.git7
Push master branch to dev_media
git push dev_media master
Last updated

