Open sarahmagluyan opened 8 years ago
The login credentials for using git
are those used in GitHub, not SMC.
Yep! I was able to clone the repo, but it says that the repo I've cloned is empty.
I believe that I have fixed this for you. Not sure why the repository was empty; it must have been another glitch. Just in case you're curious, the commands I used were:
# Clone the (empty) repo and go into that directory.
git clone https://github.com/uwhpsc-2016/homework1-sarahmagluyan
cd homework1-sarahmagluyan
# Add the `upstream` remote with the content that we need.
git remote add upstream https://github.com/uwhpsc-2016/homework1
# Fetch from that remote.
git fetch upstream
# Merge the changes into the current master. (`--ff-only` is unnecessary here,
# but I do this out of habit when I haven't made my own changes.)
git merge --ff-only upstream/master
# Push back to origin.
git push
There is content in there now! Thank you @cswiercz and @quantheory
Followed the link and accepted the homework assignment, but my repo is empty.
Am I missing a step?