crisward / dokku-clone

a dokku plugin for building an app from a cloned git repo
48 stars 9 forks source link

dokku clone does not work again if I type a wrong branch name #15

Closed medbenmakhlouf closed 4 years ago

medbenmakhlouf commented 7 years ago

Hi,

I installed dokku-clone plugin with dokku v0.10.3. I am trying to launch my app using dokku clone APP GITHUB_URL BRANCH_NAME but suddenly I mis-spelled the branch name (e.g mastr instead master), after that I correct the branch name and run the command but it does not work ?

thanks for your help

crisward commented 7 years ago

You may need to do an ls -lah in your /home/dokku/app folder. If may have hidden content which needs deleting before going further.

I'm surprised it didn't just through an error to say the branch was not found.

I'll leave this open until I've had chance to recreate this. It's fair to say the plugin should be a little more forgiving that this if it doesn't find a remote branch.

Thanks for the report.

crisward commented 4 years ago

Obviously never got chance to do the above. 🙄