Closed thisismydesign closed 4 years ago
Reopening, this is also an issue for greet
signaling to remove repos with untracked files.
It is actually already covered: https://github.com/thisismydesign/autowow/blob/f5cbeb0e428d978078ad01f858a1d41afb5dc8c8/lib/autowow/features/vcs.rb#L267
Edge case: untracked file clashes with a new file, therefore e.g.
git pull
fails.Alternatively, we could
git add
and latergit remove
. This way the same command would likely fail at a later point (eg. atgit stash pop
forkeep_changes
. Keep in mind that in case we'd have to notgit remove
a file that has been added and is now tracked.Overall not sure if it's worth it, perhaps it can be revisited as needed.