[TYPO3-dev] Git question: working around Gerrit exceptionally?

Bernhard Kraft kraftb at kraftb.at
Tue May 20 16:03:34 CEST 2014


Hello François,

On 2014-05-15 13:25, François Suter wrote:

> Thanks for your explanations and for providing a patch...

First of all: You can't revert anything which has already been pushed to 
a remote repository. This could cause problems in a multiuser 
development environment ...

So what you wanna do is to replace all current code of master with your 
working code.

I didn't try but the following should work:

1. Locate the working version of "devlog" you want to be master.
2. Do a "rm -rf .git" in this devlog version
3. Create a fresh clone of current devlog master from git.typo3.org
4. Move over the ".git" directory from the fresh clone to the "shouldbe"
    master
5. chdir to the "shouldbe" master and do "git add -A" and "git commit"
6. Now you should be able to do a "git push"

The result will be a one-shot commit which changes everything ...
You do not even have to work around gerrit.

Not clean but works. Tried right now.


greetings,
Bernhard



More information about the TYPO3-dev mailing list