eclipse / dirigible

Eclipse Dirigible™ Project
https://www.dirigible.io
Eclipse Public License 2.0
267 stars 90 forks source link

[GIT] Cloning a project with the same name, deletes the existing one #2150

Open StanZGenchev opened 2 years ago

StanZGenchev commented 2 years ago

Describe the bug If you clone a repository and later on, you try to clone the same repository or one with the same name, an error will appear telling you that such a repository already exists. After reloading, the old repository that you had would be gone.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Git'
  2. Clone a repository
  3. Edit some files
  4. Try to clone the same repository
  5. Reload the IDE
  6. See issue

Expected behavior When there is an already existing repository with the same name, the old one should not be deleted with no warning.

Desktop:

ThuF commented 2 years ago

Related to: