unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Both 'master' and 'trunk'?
@ 2014-11-13 15:03 Eli Zaretskii
  2014-11-13 15:47 ` Andreas Schwab
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2014-11-13 15:03 UTC (permalink / raw)
  To: emacs-devel

Why do we have in the git repo both 'master' and 'trunk' branches?
Shouldn't we remove 'trunk', to prevent some confused soul from
committing to it, and then wondering where did their stuff go?



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-13 15:03 Both 'master' and 'trunk'? Eli Zaretskii
@ 2014-11-13 15:47 ` Andreas Schwab
  2014-11-13 16:19   ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Schwab @ 2014-11-13 15:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> Why do we have in the git repo both 'master' and 'trunk' branches?
> Shouldn't we remove 'trunk',

Done.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-13 15:47 ` Andreas Schwab
@ 2014-11-13 16:19   ` Eli Zaretskii
  2014-11-13 16:26     ` Andreas Schwab
  2014-11-13 16:29     ` Nicolas Richard
  0 siblings, 2 replies; 11+ messages in thread
From: Eli Zaretskii @ 2014-11-13 16:19 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

> From: Andreas Schwab <schwab@suse.de>
> Cc: emacs-devel@gnu.org
> Date: Thu, 13 Nov 2014 16:47:06 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Why do we have in the git repo both 'master' and 'trunk' branches?
> > Shouldn't we remove 'trunk',
> 
> Done.

Thanks.

However, I still see it here in the "git branch -a" command.  Should I
do something locally, in addition to what you did?



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-13 16:19   ` Eli Zaretskii
@ 2014-11-13 16:26     ` Andreas Schwab
  2014-11-13 17:21       ` Eli Zaretskii
  2014-11-13 16:29     ` Nicolas Richard
  1 sibling, 1 reply; 11+ messages in thread
From: Andreas Schwab @ 2014-11-13 16:26 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> However, I still see it here in the "git branch -a" command.  Should I
> do something locally, in addition to what you did?

Use git fetch --prune.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-13 16:19   ` Eli Zaretskii
  2014-11-13 16:26     ` Andreas Schwab
@ 2014-11-13 16:29     ` Nicolas Richard
  2014-11-13 17:15       ` Eli Zaretskii
  1 sibling, 1 reply; 11+ messages in thread
From: Nicolas Richard @ 2014-11-13 16:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Andreas Schwab, emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:
> However, I still see it here in the "git branch -a" command.  Should I
> do something locally, in addition to what you did?

You can use :
`git remote prune origin'
(replace "origin" by whatever name you used for the repo you cloned from).

-- 
Nicolas Richard



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-13 16:29     ` Nicolas Richard
@ 2014-11-13 17:15       ` Eli Zaretskii
  2014-11-13 20:54         ` Nicolas Richard
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2014-11-13 17:15 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: schwab, emacs-devel

> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> Date: Thu, 13 Nov 2014 17:29:14 +0100
> Cc: Andreas Schwab <schwab@suse.de>, emacs-devel@gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> > However, I still see it here in the "git branch -a" command.  Should I
> > do something locally, in addition to what you did?
> 
> You can use :
> `git remote prune origin'
> (replace "origin" by whatever name you used for the repo you cloned from).

Thanks.  But what do you mean by the comment in parentheses?  I didn't
use any name for the repo, I used a URL.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-13 16:26     ` Andreas Schwab
@ 2014-11-13 17:21       ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2014-11-13 17:21 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

> From: Andreas Schwab <schwab@suse.de>
> Cc: emacs-devel@gnu.org
> Date: Thu, 13 Nov 2014 17:26:23 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > However, I still see it here in the "git branch -a" command.  Should I
> > do something locally, in addition to what you did?
> 
> Use git fetch --prune.

Thanks, this did the trick.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-13 17:15       ` Eli Zaretskii
@ 2014-11-13 20:54         ` Nicolas Richard
  2014-11-14  5:27           ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Nicolas Richard @ 2014-11-13 20:54 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Nicolas Richard, emacs-devel, schwab

Eli Zaretskii <eliz@gnu.org> writes:
>> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
>> You can use :
>> `git remote prune origin'
>> (replace "origin" by whatever name you used for the repo you cloned from).
>
> Thanks.  But what do you mean by the comment in parentheses?  I didn't
> use any name for the repo, I used a URL.

Then most likely the name is "origin", because it's the default name.
You can confirm by running "git remote -v".

-- 
Nicolas Richard



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-13 20:54         ` Nicolas Richard
@ 2014-11-14  5:27           ` Eli Zaretskii
  2014-11-14 10:01             ` Nicolas Richard
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2014-11-14  5:27 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: theonewiththeevillook, emacs-devel, schwab

> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> Cc: Nicolas Richard <theonewiththeevillook@yahoo.fr>,  schwab@suse.de,  emacs-devel@gnu.org
> Date: Thu, 13 Nov 2014 21:54:52 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> >> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> >> You can use :
> >> `git remote prune origin'
> >> (replace "origin" by whatever name you used for the repo you cloned from).
> >
> > Thanks.  But what do you mean by the comment in parentheses?  I didn't
> > use any name for the repo, I used a URL.
> 
> Then most likely the name is "origin", because it's the default name.
> You can confirm by running "git remote -v".

Ah, okay.  It's indeed "origin".

Thanks.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-14  5:27           ` Eli Zaretskii
@ 2014-11-14 10:01             ` Nicolas Richard
  2014-11-14 10:23               ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Nicolas Richard @ 2014-11-14 10:01 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: schwab, emacs-devel

Le 14/11/2014 06:27, Eli Zaretskii a écrit :
> Ah, okay.  It's indeed "origin".

FWIW I just realized that I like this presentation of git concepts :
http://gitolite.com/gcs.html
because it's short and focuses on ideas. That also means it won't get
you started if you want to do things and know nothing, but my guess is
that you already know the basic git commit/pull/push stuff.

If you want a quick presentation on remotes, they are explained from
this point: http://gitolite.com/gcs.html#(23)

Nicolas.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Both 'master' and 'trunk'?
  2014-11-14 10:01             ` Nicolas Richard
@ 2014-11-14 10:23               ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2014-11-14 10:23 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: schwab, emacs-devel

> Date: Fri, 14 Nov 2014 11:01:36 +0100
> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> CC: schwab@suse.de, emacs-devel@gnu.org
> 
> Le 14/11/2014 06:27, Eli Zaretskii a écrit :
> > Ah, okay.  It's indeed "origin".
> 
> FWIW I just realized that I like this presentation of git concepts :
> http://gitolite.com/gcs.html
> because it's short and focuses on ideas. That also means it won't get
> you started if you want to do things and know nothing, but my guess is
> that you already know the basic git commit/pull/push stuff.

Thanks.  However, concepts presented at this level are not my problem
where I am now.  The problem for me is to associate the terminology
(which is perverse at times, and seems to be deliberately invented to
confuse and trip someone who comes from another VCS) with the muscle
memory of the daily workflows.




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-11-14 10:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-13 15:03 Both 'master' and 'trunk'? Eli Zaretskii
2014-11-13 15:47 ` Andreas Schwab
2014-11-13 16:19   ` Eli Zaretskii
2014-11-13 16:26     ` Andreas Schwab
2014-11-13 17:21       ` Eli Zaretskii
2014-11-13 16:29     ` Nicolas Richard
2014-11-13 17:15       ` Eli Zaretskii
2014-11-13 20:54         ` Nicolas Richard
2014-11-14  5:27           ` Eli Zaretskii
2014-11-14 10:01             ` Nicolas Richard
2014-11-14 10:23               ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).