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

Cloned repository has file changes -> bug?

From
FJFilip Jorissen <filip.jorissen@kuleuven.be>
Date
Jan 27, 2018, 19:35 UTC
Message-ID
<BCFDB3A3-B515-4932-AC67-F720AEB4B0BE@kuleuven.be>
Dear all,
I think our git repository is bugged. The reason why I say this is the following. When cloning the repository, the newly cloned repository immediately has file changes. Steps to reproduce and illustration is at the end of this email. Git checkout does not work to remove the file changes. This behavior seems to be reproducible across multiple computers. Is this a bug? How can I fix the repository?
Thanks in advance for the support!
Filip

MacBook-Pro-van-Filip:git filip$ git clone git@github.com:open-ideas/IDEAS.git Cloning into 'IDEAS'... remote: Counting objects: 48419, done. remote: Compressing objects: 100% (198/198), done. remote: Total 48419 (delta 134), reused 217 (delta 97), pack-reused 48108 Receiving objects: 100% (48419/48419), 42.32 MiB | 1.81 MiB/s, done. Resolving deltas: 100% (32847/32847), done. MacBook-Pro-van-Filip:git filip$ cd IDEAS MacBook-Pro-van-Filip:IDEAS filip$ git status On branch master Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)
	modified:   IDEAS/Resources/ReferenceResults/Dymola/IDEAS_Fluid_HeatExchangers_GroundHeatExchangers_Borefield_Examples_MultipleBoreholesWithHeatPump.txt
	modified:   IDEAS/Resources/ReferenceResults/Dymola/IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.txt
no changes added to commit (use "git add" and/or "git commit -a")
Next: Ævar Arnfjörð Bjarmason
Message 1 of 10 in “Cloned repository has file changes -> bug?”
  1. Filip JorissenJan 27, 2018
  2. Ævar Arnfjörð BjarmasonJan 27, 2018
  3. Torsten BögershausenJan 28, 2018
  4. Filip JorissenFeb 6, 2018
  5. Duy NguyenFeb 6, 2018
  6. Ævar Arnfjörð BjarmasonFeb 6, 2018
  7. Jeff KingFeb 6, 2018
  8. Filip JorissenFeb 6, 2018
  9. Junio C HamanoFeb 6, 2018
  10. brian m. carlsonJan 28, 2018

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.