|
From: | Gregory Heytings |
Subject: | Re: Amending commits |
Date: | Sun, 25 Sep 2022 20:46:40 +0000 |
Hmm... no, AFAIU, it means that (by default) you cannot replace the commit history of a public repository with commits which do not have the HEAD of the public repository as their parent. E.g. if your public repository isA - B - C - D ^ HEAD you cannot change it into B - C - D / A - E - F - G ^ HEADYou can even do that (if 'force pushes' are not disabled in the repository's settings).
Yes, I said "by default": force pushes are disabled in the default settings of Git repositories, unless they have been enabled you cannot do that.
[Prev in Thread] | Current Thread | [Next in Thread] |