loreese / sherlock

Orientalism in Sherlock Holmes
http://sherlock-orient.obdurodon.org/
1 stars 0 forks source link

file upload? #5

Open loreese opened 5 years ago

loreese commented 5 years ago

So I uploaded the plain text file of an excerpt from The Sign of the Four, but I couldn't for the life of me figure out how to upload it to GitHub from Git(?) using the command line. I cloned the sherlock repo to my machine and can access that through the terminal, but I couldn't figure out how to add the .txt doc on my machine to the cloned repo so that I could push it to GitHub (assuming that is what I should have done?) Anyways, the file Kelly and I are supposed to markup is up, but I'm still unsure that I got it onto GitHub properly.

zme1 commented 5 years ago

@loreese I'll redirect you to Becca Parker's tutorial on GIt and GitHub, specifically the portion of the tutorial on common git commands. There, you'll find a number of useful git commands (which we can talk about later if you're interested), but for now you'll only need to focus on the few that specifically address "staging changes", i.e., synchronizing added, edited, or removed files on your local repo with the remote repo. Ping me on here if you have any problems after trying to stage your changes!

This is also your friendly reminder to start every work session simply by running git pull inside your local repo to get any new or changed files!

zme1 commented 5 years ago

@loreese If it wasn't perfectly clear before this point, in order to push files to the remote repo, you'll first need to simply place the relevant file(s) in your own local copy of the repo. Once they're in there, you can tell the computer "Add the local changes I've made to the staging area, commit them with this message, and push them away!"

zme1 commented 5 years ago

@loreese I just noticed that you did upload the files, but it seems like you did it with the browser tool rather than inside the terminal. It got the job done, but feel free to stop by my office hours or visit with any other instructor if you'd like a personal tour of the git commands we use most to help with future commits.

djbpitt commented 5 years ago

@loreese Communicating between your local Git repo and the origin of the repo on GitHub is often disorienting for new users, although the Good News is that once you’ve been through the process and learned the pitfalls, it quickly becomes automatic.

Please ask your project mentor to walk you through the process at your next team meeting, practicing downloading and uploading. As @zme1 writes, the instructors will be happy to help you during office hours (or write for an appointment if you can’t make it to any of our office hours), but it’s probably worthwhile also treating it as a practice activity at your next meeting.

loreese commented 5 years ago

Thanks @zme1 I looked back over the walk through as I was trying to get the file up and figured uploading it through GitHub was better than not getting anything up at all. I will definitely touch base this week if I haven’t figured this out before our meeting on Friday.

spkellyo commented 5 years ago

Lauren, I am having the same problem and I am meeting with Dr. Birnbaum after class during his office hours. I went through all the steps too and I could not get it to work for the life of me. Dr. B even gave me MORE directions and its not working. If you can't come to the meeting I'll let you know what he says about adding files. I added the minutes using the GitHub online function too. We'll figure this out.