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

keeping remote repo checked out?

From
James Cloos <cloos@jhcloos.com>
Date
Nov 28, 2005, 07:13 UTC
Message-ID
<m3k6et9rdw.fsf@lugabout.cloos.reno.nv.us>

I am testing git as a replacement for how I was using bk to manage web sites. As such, I created a new git repo on the server, populated it with the old data (ignoring history; there wasn't much relevant on that site) and cloned that to the laptop.

Editing on the server works well. I can add, checking and a subsequent pull on the laptop grabs the changes.

But any edits on the laptop's copy are not checked out when I push them to the server.

Is it possible to arrange that a push does a checkout on the remote the same way a pull does on the local?

-JimC
-- 
James H. Cloos, Jr. <cloos@jhcloos.com>
Next: Junio C Hamano
Message 1 of 25 in “keeping remote repo checked out?”
  1. James CloosNov 28, 2005
  2. Junio C HamanoNov 28, 2005
  3. Petr BaudisNov 28, 2005
  4. Junio C HamanoNov 28, 2005
  5. Petr BaudisNov 28, 2005
  6. Junio C HamanoNov 28, 2005
  7. Linus TorvaldsNov 28, 2005
  8. Daniel BarkalowNov 29, 2005
  9. Linus TorvaldsNov 29, 2005
  10. Daniel BarkalowNov 29, 2005
  11. Linus TorvaldsNov 29, 2005
  12. Re: keeping remote repo checked out?Daniel Barkalow, Nov 29, 2005
  13. Linus TorvaldsNov 29, 2005
  14. Daniel BarkalowNov 29, 2005
  15. Junio C HamanoNov 29, 2005
  16. Daniel BarkalowNov 29, 2005
  17. Junio C HamanoNov 29, 2005
  18. Matthias UrlichsNov 29, 2005
  19. Junio C HamanoNov 29, 2005
  20. Daniel BarkalowNov 29, 2005
  21. Junio C HamanoNov 29, 2005
  22. Daniel BarkalowNov 29, 2005
  23. Matthias UrlichsNov 29, 2005
  24. James CloosDec 1, 2005
  25. Junio C HamanoDec 1, 2005

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.