문제

Some commits ago, I deleted a directory in my Fossil repo. How do I get it back?

도움이 되었습니까?

해결책

The simplest way would be:

  • open fossil ui
  • go to the last commit in which your directory existed
  • click on “zip file” to download a zip of the repository at that time
  • decompress only the right folder.

다른 팁

  1. Clone your repository in folder 1

  2. Open at the last checkin that contained the lost directory

  3. Clone your repository in folder 2

  4. Open the tip

  5. Copy the lost directory from folder 1 to folder 2

  6. execute addremove in folder 2

  7. commit folder 2

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top