clasp icon indicating copy to clipboard operation
clasp copied to clipboard

New feature of clasp revert clone!

Open iRupam opened this issue 1 year ago • 2 comments

(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)

It's not an issue first of all. Just like to mention that it's a feature clasp should have. I'd be happy to do the code for it too if I get some positive response regarding the feature.

Expected Behavior

We should be able to revert a bad clone. Some first time user might be cloning badly or simply don't want to clone.

Actual Behavior

There should exists some clasp clone revert kind of command similar to git revert.

Steps to Reproduce the Problem

  1. clasp clone "project id"

Specifications

  • Node version (node -v): v20.9.0
  • Version (clasp -v): 2.4.2
  • OS (Mac/Linux/Windows): Windows

iRupam avatar Nov 18 '23 13:11 iRupam

What would be the difference between clone revert and deleting the newly cloned folder?

HoldYourWaffle avatar Nov 18 '23 13:11 HoldYourWaffle

I guess the effects of both are same, but would be nice if we can do from clasp command itself.

iRupam avatar Nov 18 '23 14:11 iRupam