|
home—lects—hws
D2L—breeze (snow day)
Due Oct.25 (Sat) 23:59
Separately, you can also set:
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. (of anything, but it should be polite, and you must have the right to copy it), and update picts.php so that it includes a clickable thumbnail of that page.
Make sure your picts.php works correctly!
Common mistakes:
Make sure you clone (and later, push back to) the central repo, bitbucket.org/ibarland/itec325-2014fall-hw05.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 clone the central repo to their own bitbucket account, creating bitbucket.org/theirUserName/itec325-2014fall-hw05.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.
1Check your spambox. If you can't find it, you can go to your bitbucket account page, and have the invitation re-sent. ↩
2on rucs, git --version gives 1.5.4.3, as of 2014-Mar-12; we want a version ≥ 1.8. ↩
3 The error message in this case is:
Initialized empty Git repository in …/itec325-2014fall-hw05/.git/ Cannot get remote repository information. Perhaps git-update-server-info needs to be run there? |
4 And to sustain the confusion: you might see a classmate's old work in your parallel bitbucket copy of the repo, just because it was already present at the moment you made your initial clone. ↩
home—lects—hws
D2L—breeze (snow day)
©2014, Ian Barland, Radford University Last modified 2014.Nov.02 (Sun) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |