Gentoo Archives: gentoo-science

From: "Justin (jlec)" <jlec@g.o>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] Git push problems
Date: Tue, 05 Nov 2013 20:42:34
Message-Id: 52795831.1070005@gentoo.org
In Reply to: Re: [gentoo-science] Git push problems by Nicolas Bock
1 On 05/11/13 21:31, Nicolas Bock wrote:
2 > I have seen the same, but I don't understand what is going on. Why
3 > doesn't a pull on gentoo update anything?
4
5 see the git push manual -> "NOTE ABOUT FAST-FORWARDS". Most common
6 situation is that someone pushed something and ammended that commit and
7 pushed again.
8
9 >
10 >
11 > On Tue, Nov 5, 2013 at 1:28 PM, Justin (jlec) <jlec@g.o
12 > <mailto:jlec@g.o>> wrote:
13 >
14 > Hi all.
15 >
16 > I continuously see things like
17 >
18 > $ git ph
19 > Pushing to git@××××××.com:gentoo-science/sci.git
20 > To git@××××××.com:gentoo-science/sci.git
21 > ! [rejected] master -> master (non-fast-forward)
22 > error: failed to push some refs to
23 > 'git@××××××.com:gentoo-science/sci.git'
24 > hint: Updates were rejected because the tip of your current branch
25 > is behind
26 > hint: its remote counterpart. Integrate the remote changes (e.g.
27 > hint: 'git pull ...') before pushing again.
28 > hint: See the 'Note about fast-forwards' in 'git push --help' for
29 > details.
30 > Pushing to git+ssh://git@×××××××××××××××××××.org/proj/sci.git
31 > <http://git@×××××××××××××××××××.org/proj/sci.git>
32 > To git+ssh://git@×××××××××××××××××××.org/proj/sci.git
33 > <http://git@×××××××××××××××××××.org/proj/sci.git>
34 > = [up to date] master -> master
35 > updating local tracking ref 'refs/remotes/origin/master'
36 > Everything up-to-date
37 >
38 > but a git pull doesn't bring anything new. This comes from problems with
39 > fast-forwarding.
40 >
41 > This is my suggestion here,
42 >
43 > We will restrict the push access in gitweb.overlays.gentoo.org
44 > <http://gitweb.overlays.gentoo.org> to a
45 > small group of people (one, two, three official sci team devs) and move
46 > all other contributions over to github. This small team is then
47 > responsible for the merge and shouldn't screw it up.
48 >
49 > What do you think?
50 >
51 > Justin
52 >
53 >

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-science] Git push problems Nicolas Bock <nicolasbock@×××××.com>