skypilot-users

What could be causing files to be deleted in a git branch when syncing with SkyPilot on AWS?

Keith Stevens encountered an issue where new files in a git branch were getting deleted when syncing with SkyPilot on AWS. The problem seemed to be related to the .gitignore configuration. What could be causing this issue?

Ke

Keith Stevens

Asked on Mar 12, 2024

  • SkyPilot respects .gitignore and .git/info/exclude configurations.
  • Check if the new files are tracked or untracked by git.
  • Verify the .gitignore rules, as they may unintentionally exclude files.
  • In Keith's case, the issue was caused by a line in the .gitignore file excluding files in a subdirectory.
  • Creating a minimal example repo helped identify and replicate the issue.
  • Keith filed a bug on GitHub to address the problem.
Mar 12, 2024Edited by