-
-
Notifications
You must be signed in to change notification settings - Fork 939
Git pull #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git pull #3
Conversation
…f git fetch and git merge.
Thanks for moving this over, sorry for the trouble. I'm -1 on this change because it introduces two new commands and the associated overhead without a concrete benefit to the learners. It can certainly be useful to know about fetch and merge, but not really within the context of this lesson. Thoughts @jhamrick? |
Hmm, yeah, I think I agree with @jiffyclub . It would definitely be nice for them to learn about fetching and merging at some point (I myself almost never use git pull anymore, because I think git fetch and git merge is better), but I think it would be more appropriate in the context on a whole lesson on branching and merging, or something like that. |
So move it to git-intermediate? |
The Git intermediate lesson I teach breaks these two concepts apart cleanly (fetching and merging). I think the fact that |
Um, are we saying we wouldn't teach |
@embray - You read the discussion in reverse :) |
Apparently so! I guess I'm okay with that then, now that I read the lesson. Putting it in the instructor's notes makes sense. |
On Thu, Dec 11, 2014 at 01:25:31PM -0800, Erik Bray wrote:
I put some fun links into the Git mailing list about pull at the end |
On Thu, Dec 11, 2014 at 01:27:19PM -0800, Aron Ahmadia wrote:
Not the way I'd do it, but I'm not maintaining this lesson, and I |
The current lesson teaches only |
I definitely agree with @wking about teaching fetch/merge as being better for developing a working mental model of how git works. At the same time, I think for an introductory lesson that's less important. Developing that mental model is going to take time no matter what, and I think just telling people to run My one problem with pull is that it can have very different behavior depending on what's in your git config. And that behavior has also changed between versions of git, and I've seen weird things happen when trying to teach it to different people. But that was a couple years ago--I think maybe that issues has settled down a bit? |
On Thu, Dec 11, 2014 at 01:32:36PM -0800, Matt Davis wrote:
I think the forces that need to be balanced are:
Either way, it shouldn't be a major rewrite to switch between the two |
And if it's in the instructor's notes it's certainly something that they can explain if appropriate. |
Before this gets too far off-course, I should point out that within the context of this novice lesson, branches have not been introduced yet, and a "single synchronization" model is being used. I think |
And @damedebugger - Hi! Thanks for the suggestion! :) |
+1 to 'pull' for novices, 'fetch' and 'merge' for intermediates. |
On Thu, Dec 11, 2014 at 01:39:27PM -0800, Aron Ahmadia wrote:
True. I don't think we're mentioning “branch” to the novices at the |
Hi! : ) I'm new to software carpentry, so I wasn't aware of the content in the intermediate lessons and haven't gone through the GIt lesson there yet. Now that I have, I agree that Fetch/merge definitely feel more at home there. And I now I realized and agree that bringing up random words that you don't follow through with will probably confuse more than help. Including resulting in questions like "What's the difference between them and pull? Why have them both?" which would result in going much more in depth into a topic that didn't have established prereqs before hand. |
I'll close this, thanks for the suggesting the change! Please feel free to contribute new material to the intermediate git lessons if you like, those are still part of the bc repo for now. The novice lessons have also long been in need of a dedicated lesson on branching if you feel like tacking that. (@dtrapezoid has a draft lesson.) I hope this experience still counts for your instructor training project! 😄 |
Update validator to work with revised LICENSE.md.
Fixed link to rendered version in README
Sync up with the upstream
updated license
Putting template into final [sic] form
Added in a note which elaborates that git pull is a summary command of git fetch and git merge.