Re: [OT] Question about Git branches

2014-09-17 Thread Chris Angelico
On Thu, Sep 18, 2014 at 1:52 AM, Frank Millman wrote: > Nowhere does it state that you must commit or stash your current changes > before switching branches. Maybe it is implied by 'revert', but as a newbie > I had missed that. No, it's more implied in "Do some work". Basically, what you should b

Re: [OT] Question about Git branches

2014-09-17 Thread Frank Millman
"Sergey Organov" wrote in message news:lvbtd2$fsg$1...@speranza.aioe.org... > "Frank Millman" writes: >> Hi all >> [snip lots of really valuable information] > Thanks a stack, Sergey, that is a really useful explanation. For the record, this is where my initial confusion came from. The follo

Re: [OT] Question about Git branches

2014-09-17 Thread Sergey Organov
"Frank Millman" writes: > Hi all > > I know there some Git experts on this list, so I hope you don't mind me > posting this question here. > > I am slowly getting comfortable with Git, but there is something that > confuses me. If you want to be really comfortable with Git, you need to understa

Re: [OT] Question about Git branches

2014-09-17 Thread Sergey Organov
"Frank Millman" writes: > 3. I have sympathy for Marko's position of using clones rather than > branches. I realise it does not follow the 'git' philosophy, IMHO one important thing about git that made it is so popular is the fact that it tries hard not to impose any policy or particular work-f

Re: [OT] Question about Git branches

2014-09-16 Thread Tim Delaney
On 17 September 2014 02:25, Chris Angelico wrote: > On Wed, Sep 17, 2014 at 2:08 AM, Robert Kern > wrote: > > Yes, but this is due to different design decisions of git and Mercurial. > git > > prioritized the multiple branches in a single clone use case; Mercurial > > prioritized re-cloning. It'

Re: [OT] Question about Git branches

2014-09-16 Thread Marko Rauhamaa
Jason Swails : > One of the code git repos I work with every day is ~4 GB for a working > repo and ~1.6 GB for a bare one. At any given time, I have ~6 branches > I'm working on. Well, branches could be seen as a compression technique. I'm trying to keep my git repositories in the < 1 MB range.

Re: [OT] Question about Git branches

2014-09-16 Thread Ben Finney
Terry Reedy writes: > I agree. If a post on parquet flooring were held for moderation, I > would discard it. Threads that wander off into parquet flooring type > topics are best let die. I'm glad to know that, thank you. > >> (2) Parquetry flooring has nothing to do with Python programming, > >

Re: [OT] Question about Git branches

2014-09-16 Thread Robert Kern
On 2014-09-16 17:25, Chris Angelico wrote: On Wed, Sep 17, 2014 at 2:08 AM, Robert Kern wrote: Yes, but this is due to different design decisions of git and Mercurial. git prioritized the multiple branches in a single clone use case; Mercurial prioritized re-cloning. It's natural to do this kin

Re: [OT] Question about Git branches

2014-09-16 Thread Terry Reedy
On 9/16/2014 4:00 AM, Albert-Jan Roskam wrote On Tue, Sep 16, 2014 9:37 AM CEST Steven D'Aprano wrote: Ben Finney wrote: "Frank Millman" writes: I know there some Git experts on this list, so I hope you don't mind me posting this question here I do. There may be experts on parquetry f

Re: [OT] Question about Git branches

2014-09-16 Thread Chris Angelico
On Wed, Sep 17, 2014 at 2:08 AM, Robert Kern wrote: > Yes, but this is due to different design decisions of git and Mercurial. git > prioritized the multiple branches in a single clone use case; Mercurial > prioritized re-cloning. It's natural to do this kind of branching in git, > and more natura

Re: [OT] Question about Git branches

2014-09-16 Thread Robert Kern
On 2014-09-16 13:14, Steven D'Aprano wrote: Chris Angelico wrote: On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote: "Frank Millman" : You are encouraged to make liberal use of 'branches', Personally, I only use forks, IOW, "git clone". I encourage that practice. Then, there is little

Re: [OT] Question about Git branches

2014-09-16 Thread Jason Swails
On Tue, 2014-09-16 at 10:59 +0200, Frank Millman wrote: > "Chris Angelico" wrote in message > news:CAPTjJmr5gh8=1zPjG_KdTmA2QgT_5jj=kh=jyvrfv1atl1e...@mail.gmail.com... > > On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote: > >> "Frank Millman" : > >> > >>> You are encouraged to make liberal

Re: [OT] Question about Git branches

2014-09-16 Thread Tim Delaney
On 16 September 2014 22:14, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > Chris Angelico wrote: > > > On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa > wrote: > >> "Frank Millman" : > >> > >>> You are encouraged to make liberal use of 'branches', > >> > >> Personally, I only us

Re: [OT] Question about Git branches

2014-09-16 Thread Chris Angelico
On Tue, Sep 16, 2014 at 10:14 PM, Steven D'Aprano wrote: > Chris Angelico wrote: > >> On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote: >>> "Frank Millman" : >>> You are encouraged to make liberal use of 'branches', >>> >>> Personally, I only use forks, IOW, "git clone". I encourage tha

Re: [OT] Question about Git branches

2014-09-16 Thread Steven D'Aprano
Chris Angelico wrote: > On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote: >> "Frank Millman" : >> >>> You are encouraged to make liberal use of 'branches', >> >> Personally, I only use forks, IOW, "git clone". I encourage that >> practice. Then, there is little need for "git checkout". Inste

Re: [OT] Question about Git branches

2014-09-16 Thread Frank Millman
"Albert-Jan Roskam" wrote in message > > > I like "Pragmatic guide to Git". 122 pages, to the point, practical. > Thanks, Albert-Jan. I have started reading it, and it looks useful. Thanks too for your previous response, which was also 'pragmatic and to the point' :-) Frank -- https://mai

Re: [OT] Question about Git branches

2014-09-16 Thread Frank Millman
"Chris Angelico" wrote in message news:CAPTjJmr5gh8=1zPjG_KdTmA2QgT_5jj=kh=jyvrfv1atl1e...@mail.gmail.com... > On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote: >> "Frank Millman" : >> >>> You are encouraged to make liberal use of 'branches', >> >> Personally, I only use forks, IOW, "git c

Re: [OT] Question about Git branches

2014-09-16 Thread Albert-Jan Roskam
- On Tue, Sep 16, 2014 10:29 AM CEST Chris Angelico wrote: >On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote: >> "Frank Millman" : >> >> You are encouraged to make liberal use of 'branches', >> >> Personally, I only use forks, IOW, "git clone". I encourage that >

Re: [OT] Question about Git branches

2014-09-16 Thread Chris Angelico
On Tue, Sep 16, 2014 at 6:21 PM, Marko Rauhamaa wrote: > "Frank Millman" : > >> You are encouraged to make liberal use of 'branches', > > Personally, I only use forks, IOW, "git clone". I encourage that > practice. Then, there is little need for "git checkout". Instead, I just > cd to a different

Re: [OT] Question about Git branches

2014-09-16 Thread Marko Rauhamaa
"Frank Millman" : > You are encouraged to make liberal use of 'branches', Personally, I only use forks, IOW, "git clone". I encourage that practice. Then, there is little need for "git checkout". Instead, I just cd to a different directory. Branches and clones are highly analogous processwise; I

Re: [OT] Question about Git branches

2014-09-16 Thread Albert-Jan Roskam
- On Tue, Sep 16, 2014 9:37 AM CEST Steven D'Aprano wrote: >Ben Finney wrote: > >> "Frank Millman" writes: >> >> I know there some Git experts on this list, so I hope you don't mind >> me posting this question here. >> >> I do. There may be experts on parquetry floo

Re: [OT] Question about Git branches

2014-09-16 Thread Steven D'Aprano
Ben Finney wrote: > "Frank Millman" writes: > >> I know there some Git experts on this list, so I hope you don't mind >> me posting this question here. > > I do. There may be experts on parquetry flooring in this forum, but a > topic is not on-topic merely because some people here may know abou

Re: [OT] Question about Git branches

2014-09-15 Thread Ben Finney
"Frank Millman" writes: > I know there some Git experts on this list, so I hope you don't mind > me posting this question here. I do. There may be experts on parquetry flooring in this forum, but a topic is not on-topic merely because some people here may know about it. Please engage with the G

[OT] Question about Git branches

2014-09-15 Thread Frank Millman
Hi all I know there some Git experts on this list, so I hope you don't mind me posting this question here. I am slowly getting comfortable with Git, but there is something that confuses me. You are encouraged to make liberal use of 'branches', and if required you can have multiple branches ru