keith / git-pile

Stacked diff support for GitHub workflows
MIT License
146 stars 11 forks source link

`git-pilereset` doesn't cover if the worktree has been detached from the repo #44

Closed IanEdington closed 1 year ago

IanEdington commented 1 year ago

I deleted a repo and re-cloned it. None of the git-pile commands were working with the error

fatal: '/Users/ian/.cache/git-pile/883576d7f2ec3e1a7017ea994aaec631' is not a working tree

I had to remove the working tree using rm $(git pileworktreepath)

Could this be done in the git-pilereset command?