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

Re: git reset respect remote repo (make git idiot proof)

From
DHDirk Heinrichs <dirk.heinrichs@altum.de>
Date
Oct 5, 2012, 05:35 UTC
Message-ID
<1611434.pfF2lutBRf@moria>
In-Reply-To
<k4jj5n$72b$1@ger.gmane.org>
Am Donnerstag 04 Oktober 2012, 10:59:36 schrieb Geoffrey De Smet:
Show 5 quoted lines
> I personally use git reset a lot:
> - Try an experiment
> - Commit a few commits as the experiment progresses
> - figure out that the experiment is a dead end
> - git reset all those local commits

Hmm, what if you do your experiments on a dedicated branch? Branch deletion is "push-save", isn't it?

Bye...
	Dirk
-- 
Dirk Heinrichs <dirk.heinrichs@altum.de>
Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913
GPG Public Key C2E467BB | Jabber: dirk.heinrichs@altum.de
Previous: Junio C HamanoNext: Andreas Schwab
Message 7 of 9 in “git reset respect remote repo (make git idiot proof)”
  1. Geoffrey De SmetOct 3, 2012
  2. Ramkumar RamachandraOct 3, 2012
  3. Geoffrey De SmetOct 3, 2012
  4. Phil HordOct 3, 2012
  5. Geoffrey De SmetOct 4, 2012
  6. Junio C HamanoOct 5, 2012
  7. Dirk HeinrichsOct 5, 2012
  8. Andreas SchwabOct 3, 2012
  9. Geoffrey De SmetOct 4, 2012

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.