-
-
Notifications
You must be signed in to change notification settings - Fork 381
Conversation
This Introduction borrows heavily from characters, concepts, and prose from git/beginner/00-intro.md by @gvwilson.
(Also, some cleanup to introduction, and added index)
* Add objectives * Revise clone and log sections * Add checkout and reflog commands
On Sun, Jan 19, 2014 at 03:22:06PM -0800, Aron Ahmadia wrote:
I imagine some of these were copy-pasted from the old novice version,
|
Thanks @wking, really helpful feedback. I'll get those in tomorrow. Feel On Sun, Jan 19, 2014 at 11:40 PM, W. Trevor King
|
On Sun, Jan 19, 2014 at 08:46:16PM -0800, Aron Ahmadia wrote:
Meh. Feel free to squash fixups ;). |
Inline responses:
Thanks, incorporated. I imagine some of these were copy-pasted from the old novice version, It's a fork. I think the horror movie characters are a bit distracting, and is focused on local cultural references.
I think it does, I'll worry about it later.
You'll live :)
I've got some extra branches/tags in there that need to be deleted.
Just copy-and-pasted the output, which only added 2 lines.
Fixed and incorporated.
I'm okay with this :)
I added some of your text, which is helpful. Take a look at the page you linked to and imagine a non-computer scientist trying to comprehend it. I'm a computer scientist and I barely understand it :)
Nice catch, fixed.
I fixed the one you pointed out, but did not go looking for others :)
Clearly a moment of indecision, fixed.
You mean "awesome .zprezto prompt", right? :)
What's your reflog showing? |
On Mon, Jan 20, 2014 at 08:01:29AM -0800, Aron Ahmadia wrote:
You've got trailing whitespace after “so you can understand the Backticks around the
I read through it again and it seems fairly clear. More examples
Ah, I'd thought the fencing errors were:
|
@ahmadia, here are the notes on this material from the ERDC SWC bootcamp:
|
GitHub GUI works only on Windows, correct? "Git comes with built-in GUI tools for committing (git-gui) and browsing (gitk), but there are several third-party tools for users looking for platform-specific experience." From http://git-scm.com/downloads/guis I thought that we avoid showing any GUI for git for the same reason that we try to use nano as text editor, keep the user in the terminal. |
They have a GUI for windows and Mac. I'm not sure about Linux. Here's my rationale: git is overwhelming to learners at first, and the The GUIs are really straightforward to use, and can at least get them Of course, this is riding on the assumption that very few people pick up On Sunday, January 26, 2014, r-gaia-cs [email protected] wrote:
Randal S. Olson Computer Science PhD Student |
+1 on showing a GUI of some kind at the end, after the shell commands, although I'm partial to Sourcetree. I think it's important to separate the value of git from the experience of using git - personally, I don't think that showing a GUI will do much to resolve the "do I need this or not" debate, which is the most important one for our students. To get students using git, I think that the more important issue is to clearly tell the students, early and often, what problems git will solve for them. In my own git lesson for beginners, I organize the entire tutorial around six "headaches" that git solves and how to use git to solve them. Covers the usual "canonical" commands, more or less, but puts motivation front and center. |
On Sun, Jan 26, 2014 at 06:19:43AM -0800, Randy Olson wrote:
GitHub does not offer a Linux GUI 1. Sun, Jan 26, 2014 at 09:21:16AM -0800, Justin Kitzes:
SourceTree also seems to lack Linux support 2. There are a number of other GUIs 3, including git-gui and gitk which I'm definitely in favor of increased situational awareness in Git. $ log --graph --topo-order --oneline --decorate from the command line. I've got that aliased to glog, and I use it |
On Sun, Jan 26, 2014 at 10:27:57AM -0800, W. Trevor King wrote:
I see that @jkitzes sets up a similar alias in his lesson 1: $ git config --global alias.lg "log --oneline --graph --decorate --all" I think that's a good idea for an intermediate less (and maybe even $ git config --global alias.glog 'log --graph --topo-order --oneline --decorate' You can easily added it at invocation time: $ git glog --all And you can also look at other subsets: $ git fetch origin |
@wking, yes, I find these abbreviated log commands very useful for teaching. I like using I agree with the idea of using command line calls like this in the lessons (both novice and intermediate) and mentioning GUI's at the end as something the students might want to look into on their own time. |
On Sun, Jan 26, 2014 at 11:08:41AM -0800, Justin Kitzes wrote:
I agree that --all is good for the lessons. I just think that the $ git glog --all explicitly when you do want to see everything (which may be all the
Sounds good to me. Pointing folks towards non-core GUIs (instead of |
Sorry to join the discussion late, but thanks for the pointers. I think On Sun, Jan 26, 2014 at 1:20 PM, W. Trevor King [email protected]:
|
Just to clarify my position on this: I think it's a terrible idea to teach from the GUI, especially the GitHub GUI. I've tried this before with a few students and it didn't work out well at all. Anyway, I think we're all on the same page here. Yay! |
Can we merge this intermediate material, then open a separate PR on "what to say when about Git GUIs"? |
I'm 👍 on that as long as @ahmadia feels he's addressed the other On Monday, January 27, 2014, Greg Wilson [email protected] wrote:
Randal S. Olson Computer Science PhD Student |
I'm +1 as well (sorry to not be on top of this one @ahmadia). This is great material and we should go ahead and get it in even if there are a few things related to GUIs that we want to clean up afterwards. @ahmadia - let me know if you have any last things you want to take care of before the merge, otherwise I'll go ahead and push the big green button. |
The material is still fairly rough but I'm okay with you merging it in. A On Monday, January 27, 2014, Ethan White [email protected] wrote:
|
These are ready for high-level review.
Note, there is feedback in #127 that has not been incorporated yet.
Please bring new feedback over here. I'll spend some time addressing comments after I've gotten a complete draft of this material together.