git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git rebase backend change: post-checkout hook is not ran by 'merge' backend

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Apr 2, 2020, 16:00 UTC
Message-ID
<FB0DFFB4-0E6B-4C1E-96AE-9869752BB50B@gmail.com>
In-Reply-To
<9945492E-1D97-4741-B999-F30CA561D4DE@gmail.com>
Sorry, the last rebase command is missing:
   $ echo "echo \"Running post-checkout hook\"" > .git/hooks/post-checkout
   $ git checkout -b <branch1> <commit2>
   $ git rebase upstream/master --apply
   First, rewinding head to replay your work on top of it...
   Running post-checkout hook
   Applying: <commit1>
   Applying: <commit2>
   $ git checkout -b <branch2> <commit2>
   $ git rebase upstream/master --merge
   Successfully rebased and updated refs/heads/<branch2>
Show 11 quoted lines
> Le 2 avr. 2020 à 11:57, Philippe Blain <levraiphilippeblain@gmail.com> a écrit :
> 
>    $ echo "echo \"Running post-checkout hook\"" > .git/hooks/post-checkout
>    $ git checkout -b <branch1> <commit2>
>    $ git rebase upstream/master --apply
>    First, rewinding head to replay your work on top of it...
>    Running post-checkout hook
>    Applying: <commit1>
>    Applying: <commit2>
>    $ git checkout -b <branch2> <commit2>
>    Successfully rebased and updated refs/heads/<branch2>
Previous: Philippe BlainNext: Elijah Newren
Message 2 of 4 in “git rebase backend change: post-checkout hook is not ran by 'merge' backend”
  1. Philippe BlainApr 2, 2020
  2. Philippe BlainApr 2, 2020
  3. Elijah NewrenApr 2, 2020
  4. Phillip WoodApr 3, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.