Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Merge commit before branch tip

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:49:11

Jonathan Nieder [off-list ref] writes:
Hi Bradley,

Bradley Wagner wrote:
quoted
I realize this is not a best practice but is it possible to merge a
branch but at a point before the branch tip?
I do not even think it is not a best practice.  You can do

  $ git fetch --all
  $ git merge origin/master~1
... or whatever commit identifier indeed:

   $ git merge 64fdc08da

is fine too, but you have to find out the 64fdc08da part (using git
log for example).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help