emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Amending commits


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 is

A - B - C - D
             ^ HEAD

you cannot change it into

     B - C - D
   /
A - E - F - G
             ^ HEAD

You 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.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]