-
Notifications
You must be signed in to change notification settings - Fork 7
GitHub Shell Info and Forking #11
Comments
This is the fork and branch method that I am leading students through on the new GitHub tutorial. By my understanding, this will allow you to keep the origin forked repo. synced and the individual's development is done in a cloned branch of the forked repo. A general diagram to explain what I mean is below: And here is the page this diagram is from where you can find more information. @ebeshero @ghbondar @djbpitt does this seem like a logical process to lead students through? I also will show students how to create their own repos. from scratch as well as what we already discussed regarding the basics of creating an account, downloading the desktop client, etc. One of the biggest things that is new using this way of working in the DH Class Hub is that the instructors (who are collaborators) will need to make sure that if a student posts an issue and wants to add a file to the trouble shooting "garage" we will need to accept that pull request to add the file or files they are trying to have troubleshooted. This isn't really a problem, but it will be different than last semester where students were able to respond to students by pushing code back and forth into that folder without needing the pull request approval. However, we did see most of students took advantage of the markdown feature in the issues and were sharing a large portion of code there so I don't really see this as a problem and more of as just something we need to consider. |
Dear Becca, Elisa, and Greg, The most common work flow in my course has been that students control their The work flow in the Greensburg course, though, may be different, since I think one possible point of confusion for new users (and perhaps even Best, David On Mon, Jan 4, 2016 at 5:53 PM, Rebecca Parker [email protected]
|
@RJP43 Becca and all: Here's what I'm thinking: we can make forking and pull requests a sort of homework assignment in the garage environment of our DH-ClassHub, but still actually permit each student to push there as they've always done, since it's pretty standard practice and probably the most stable and valuable content there is, as you've noted, the Issues board--the help tickets the students work on together. I'm worrying a bit over the immediacy of attention our students sometimes want at 11 PM or after midnight when we're not always online, so maybe DH-ClassHub really ought to be a live environment. (There, I think you convinced me of that, after all!) But if we want them to work from a fork, we can have the class test drive your new and improved tutorial, and maybe a little ways into the course. (We'll start with our little pool of returning students, first, and discuss how best to implement a practice of forking and/or branching.) Thoughts? |
@RJP43 Becca is discovering that any collaborator, or really anyone at all who makes a fork (whether a collaborator or no) seems to be able to make a pull request and is prompted with an offer to automatically merge--and whether that automatic merge is with the original repo or just a way to update the fork(?) is a question I have. Anyway, the question of whether you can make it so collaborators on a repo must all issue pull requests that must be reviewed by someone else is something I see under discussion here: I'd like to get a group of our returning students together (and perhaps some of David's instructors too) to help test some of this--maybe we'll call it "wreck a repo" so we can concentrate on breaking things as much as possible. Becca, let's talk to Nicole, Rob, and Brooke about this tomorrow, okay? David, may I invite Andrew and Alex and/or other instructors to help with this? @djbpitt |
Okay-- Becca kept working and made more changes, and the invitation to merge automatically was not renewed. I think we clearly need to be testing this a bit to see what's what. |
Working Command Line From a Local Fork:Created a fork - working on local computer in local fork
from there created pull request to original repo. (notes according to experiment on CitySlaveGirls repo. with Dr. B.) |
Finished marking up the document, stopped adding adjectives that weren’t possessive
@RJP43 Here's a good resource on fetch and merge, vs. pull: |
there is a section here in the readme on viewing the open issues from command line of any given repository that I want to include in the tutorial so i am dropping the link here for safe keeping. |
https://developer.github.com/v3/repos/collaborators/ -- adding a collaborator through Git Shell |
@djbpitt |
Dear Becca, Apparently your results with "status -uno" are different from mine. I was Best, David On Jan 16, 2016, at 1:23 PM, Rebecca Parker [email protected] @djbpitt https://github.com/djbpitt (in both of the following images the remote repo was ahead of my local — |
@djbpitt very interesting! another command I am experimenting with but in the forking environement is @spadafour could you test what we were commenting on in the past two comments of this issue on your mac to see if you get the same results as David. Go to a repo you have cloned where changes have been made (a good one is DHClass-Hub - unless you have that forked - since changes have been made there today) in the desktop client before syncing right click on the repo name and open it in Git Shell. Try this command @andrewntz23 I think you also have a mac if you wanted to experiment with this also ... thanks |
A useful list of shell commands for GitHub: |
develop / add to existing tutorial(s) for DH classes on GitHub to include info on Forking and shell commands.
See ebeshero/DHClass-Hub#92
The text was updated successfully, but these errors were encountered: