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

RE: Re: checkout on an empty directory fails

From
RDRené Doß <doss@gmx.de>
Date
Jan 5, 2012, 12:38 UTC
Message-ID
<4F0599E0.7090902@gmx.de>
In-Reply-To
<CACsJy8A42n4t+WqGaTx7vDQ3jP_YkD1bB0WL9amrrg1B4eOx7w@mail.gmail.com>
  Thank you for your help. I can not understand what is the mistake?  
qgit displays me the tree correct.
git status says not special informations.
Only git  checkout .    works.
What means the point in checkout?
René

red@linux-nrd1:~/iso/a> git status # On branch master # Changed but not updated: # (use "git add/rm <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # deleted: SP601_RevC_annotated_master_ucf_8-28-09.ucf # deleted: rtl/ether_speed.vhd # deleted: rtl/ether_top.vhd # deleted: rtl/ether_tx.vhd # deleted: rtl/takt.vhd # deleted: sim/makefile # deleted: sim/tb_ether_top.vhd # no changes added to commit (use "git add" and/or "git commit -a")

ed@linux-nrd1:~/iso/a> ls red@linux-nrd1:~/iso/a> git reset --hard HEAD is now at efb7b86 Simulation ergaenzt red@linux-nrd1:~/iso/a> git checkout master Already on 'master' red@linux-nrd1:~/iso/a> git checkout . red@linux-nrd1:~/iso/a> ls rtl sim SP601_RevC_annotated_master_ucf_8-28-09.ucf <--here are the files back!!!! red@linux-nrd1:~/iso/a>

Previous: Nguyen Thai Ngoc DuyNext: Holger Hellmuth
Message 3 of 7 in “checkout on an empty directory fails”
  1. René DoßJan 5, 2012
  2. Nguyen Thai Ngoc DuyJan 5, 2012
  3. René DoßJan 5, 2012
  4. Holger HellmuthJan 5, 2012
  5. Dirk SüsserottJan 5, 2012
  6. Ramkumar RamachandraJan 5, 2012
  7. Thomas RastJan 5, 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.