|
home—lects—hws
D2L—breeze (snow day)
Due Feb.28 (Tue) at start of class; also see below
I suggest doing this somewhere within your H: drive's dynamic_php/… (mounting your H: drive if on your laptop), so you can view the results via the web. However, that's not required (e.g. if your disc quota is low).
Alas, the version of git that is currently on rucs is old2; it mostly works, except for cloning repos via https3, which is the one step we need to get started!
Add a small picture to the project, using git add. Update picts.php so that it includes a clickable thumbnail of that page. (A picture of anything polite, and you must have the right to copy it.)
Make sure your picts.php works correctly!
Warning: If you commit and get a warning about a conflict, be sure to resolve it before (re)committing. You'll get no credit if you commit something which includes the conflict.
Common mistakes:
Make sure you clone (and later, push back to) the central repo, bitbucket.org/ibarland/itec325-2017spring-hw04.git. (The yourUserName@ in the clone request indicates which user is accessing the repo; the ibarland is the owner of the repo. Don't confuse/swap the two.)
In particular, some people (using the GUI interface) clone the central repo to their own bitbucket account, creating bitbucket.org/theirUserName/itec325-2017spring-hw04.git, and then clone that one to their laptop. Later, when they push from their laptop back, they're pushing to their duplicated version hosted on bitbucket, and not the one me nor anybody else in the class4 is using.
Be sure to push to the repo — not “issue a pull request”. That latter is an email sent to me (the repo owner), letting me review the changes before I pull them in. It's intended for (say) the public to contribute to open-source projects but making sure a project-member reviews the changes before adding them to the repo.
Since you all have write-permission on the project, there is no need to issue pull-requests — you should just push directly to the repo.
For 5pts extra-credit (due 2017.Mar.06 by start of class)
Go back to your entry in facts.txt, and:
hint:git log
Initialized empty Git repository in …/itec325-2017spring-hw04/.git/ Cannot get remote repository information. Perhaps git-update-server-info needs to be run there? |
home—lects—hws
D2L—breeze (snow day)
©2017, Ian Barland, Radford University Last modified 2017.Feb.20 (Mon) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |