Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 866 Bytes

git-image.md

File metadata and controls

28 lines (17 loc) · 866 Bytes

Exercise 2: add image to git

This exercise asks you to add a folder to your repo, and thereafter image to that folder. And finally commit everything to github!

  1. make a new folder (e.g. images) to this repo. Hint: mkdir

  2. ensure that the folder is there. Hint: ls

  3. download an image you like and save it into the image dir you made above.

  4. on command line navigate to the image folder. Hint: cd

  5. ensure that the image is there. Hint: ls

  6. add the image to your git repo. Hint: git add image.jpg

  7. commit and push the changes. Hint: `git commit -am ".. your message here.. ".

  8. go and check on github that the image is there.

  9. as before, edit this file and write here the commands you used. Hint: you have to do the edits and commit again, in a similar fashion as above.

Did the edits show up on github?