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

Re: Instead of rebasing, etc....?

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
May 10, 2010, 08:49 UTC
Message-ID
<AANLkTikikb5rKfxBlqrNfgLQhKRYKZ_e-760vWEMLKQ1@mail.gmail.com>
In-Reply-To
<loom.20100507T003055-527@post.gmane.org>
Hi,
> Of course then I want to push dev and move origin/dev to refer to it.
> So I delete and recreate origin/dev.  That's essentially like
> rebasing, and all the advice says "don't do it."  How bad is that,
> really, if it's my own development branch?

If I understand correctly, you want a non-FF push. Simply develop on dev and `git push origin +dev:dev` to force a non-FF push. It's not bad at all if your branch isn't public and others aren't pulling from it.

-- Ram
Previous: Raja R Harinath
Message 4 of 4 in “Instead of rebasing, etc....?”
  1. Dave AbrahamsMay 6, 2010
  2. Dave AbrahamsMay 6, 2010
  3. Raja R HarinathMay 10, 2010
  4. Ramkumar RamachandraMay 10, 2010

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.