From: "Saravanan Shanmugham (sarvi)" <sarvi@cisco.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Git History Rewriting in a public repository - capability to remove one or more commits from a public repository
Date: Tue, 23 Feb 2016 21:30:58 +0000 [thread overview]
Message-ID: <D2F20E85.A04DB%sarvi@cisco.com> (raw)
Hi Git Leads,
I am looking for git capability/way to be able to remove commits
from a public repository.
Background:
We are looking for a multi-stage commit process where commits get pushed
into a public ³testing-stage² repository.
Where we do testing of commits before they are pushed to another public
³mainline² repository.
When there are failures seen in the public ³testing-stage² repository.
We would like to implement some process to go identify the bad patch and
completely eject it from that public ³testing-stage² repository, as if it
was not connected.
The plan is to use the Git History Rewriting capability described here
https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History
So I can pull a pull workspace from the public ³testing-stage² repository
use the above mechanism to eject one or more commits from it.
Now I would like to be able push it back to public ³testing-stage²
repository.
And allow other people to be able to sync their workspaces to this public
³testing-stage² repository, correctly.
This as I understand is not supported?/recommended? in GIT.
Mercurial addresses this with the capability to mark commits with a phase
such as ³Draft² or ³Experimental² and having a workflow around them.
Described here
https://www.mercurial-scm.org/wiki/Phases
http://www.gerg.ca/evolve/user-guide.html#evolve-user-guide
Question:
What are the issues?
What needs to be done in terms of development, to support this
functionality and make it work properly in GIT?
Is there additional development that needs to be done to git core to allow
this development process?
Thanks,
Sarvi
-----
Occam's Razor Rules
next reply other threads:[~2016-02-23 21:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 21:30 Saravanan Shanmugham (sarvi) [this message]
2016-02-23 21:59 ` Git History Rewriting in a public repository - capability to remove one or more commits from a public repository Stefan Beller
2016-02-23 22:15 ` Ilya Terentyev
2016-02-24 1:08 ` Saravanan Shanmugham (sarvi)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D2F20E85.A04DB%sarvi@cisco.com \
--to=sarvi@cisco.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).