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

Move commits not in origin to a branch

From
SWshawn wilson <ag4ve.us@gmail.com>
Date
Mar 2, 2015, 13:25 UTC
Message-ID
<CAH_OBicENXL967L4LubDzrqq2qxuZSqye3o6SPAq6oKM0=94Og@mail.gmail.com>
How do I move commits I haven't pushed into a new branch?
 % git log origin..master --pretty=format:'%h'
f7d3a19
1f186c9
66d99f6
Which I'd like to be in a new branch.
Next: Michael J Gruber
Message 1 of 3 in “Move commits not in origin to a branch”
  1. shawn wilsonMar 2, 2015
  2. Michael J GruberMar 2, 2015
  3. shawn wilsonMar 2, 2015

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.