Navigate to the /usr/src/kodekloudrepos/media directory.
/usr/src/kodekloudrepos/media
Add a new remote named dev_mediapointing to /opt/media.git using Git.
dev_media
/opt/media.git
Copy the file /tmp/index.html into the repository.
/tmp/index.html
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.
ssh to storage server
ssh natasha@ststor01
sudo su -
cd /usr/src/kodekloudrepos/media
Add a new remote named dev_media pointing to /opt/xfusioncorp_media.git using Git.
/opt/xfusioncorp_media.git
git remote add dev_media /opt/xfusioncorp_media.git
cp /tmp/index.html .
git add index.html git commit -m "add index.html"
Push master branch to dev_media
git push dev_media master
Last updated 7 months ago