DIYEFI.org Forum http://forum.diyefi.org/ |
|
Getting set up on github http://forum.diyefi.org/viewtopic.php?f=41&t=547 |
Page 3 of 3 |
Author: | jharvey [ Wed May 12, 2010 2:10 am ] |
Post subject: | Re: Getting set up on github |
I just added the picture of the config setting in the post above. |
Author: | Fred [ Thu Jun 16, 2011 4:40 pm ] |
Post subject: | Re: Getting set up on github |
viewtopic.php?f=41&t=1103 If you're trying to contribute, this is a guide on how to be polite about it! Fred. |
Author: | Fred [ Sat Nov 05, 2011 5:19 pm ] |
Post subject: | Re: Getting set up on github |
A great little diagram about the way files move between their four possible states in Git: ![]() If this image doesn't display here, PM me and I'll cache it. Fred. |
Author: | johntramp [ Thu Nov 10, 2011 12:00 am ] |
Post subject: | Re: Getting set up on github |
Doesn't an untracked file get added to the staging area? |
Author: | Fred [ Thu Nov 10, 2011 1:08 am ] |
Post subject: | Re: Getting set up on github |
That is one possibility, yes. I think for the sake of clarity of ideas he has opted to display a different process. I like how clear it is. I didn't understand the 4 states for quite a long time, this would have helped. |
Author: | Fred [ Fri Mar 01, 2013 12:24 pm ] |
Post subject: | Re: Getting set up on github |
A variation on the diagram from the git book, which I don't agree with, and think is misleading and unclear. ![]() Explanation:
The original file is misleading in that:
Additionally, mine doesn't show that you can remove something from being staged instead of committing it. Insert a big grey line from right to left at the bottom in your mind. Fred. |
Author: | johntramp [ Fri Mar 01, 2013 10:09 pm ] |
Post subject: | Re: Getting set up on github |
Here the commit from modified to unmodified is wrong too...? Sure, a commit -a can do it in one step, but that is still staging the files. |
Author: | Fred [ Fri Mar 01, 2013 10:29 pm ] |
Post subject: | Re: Getting set up on github |
No, it's correct. git commit README.md Works just fine. But fails if README.md is brand new. Have to add first in this case. Fred. |
Page 3 of 3 | All times are UTC [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |