Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ARC Commander creates new remote repository without using "arc sync -f" #139

Open
Martin-Kuhl opened this issue May 20, 2022 · 0 comments
Labels
Type: Bug Something is not working, and it is confirmed by maintainers to be a bug.

Comments

@Martin-Kuhl
Copy link
Collaborator

Describe the bug
Usually the ARC Commander reports an error when syncing ARCs to a remote repository that does not exist so far ensuring that the URL was spelled correctly. Afterwards, arc sync -f can be used to force push.
This morning, AC reported
ERROR: GIT: fatal: repository "https://git.nfdi4plants.org/martinkuhl/newtestARC.git/" not found
after using arc sync -r "https://git.nfdi4plants.org/martinkuhl/newtestARC", but created the remote repository anyways.

To Reproduce

  1. Initialize an ARC
  2. Run arc sync -r "https://git.nfdi4plants.org/YourName/NewRemoteRepository"
  3. Check if new remote repository was created, although flag -f was not set

Expected behavior
AC should report expected error telling you to force push using arc sync -f

@omaus omaus added the Type: Bug Something is not working, and it is confirmed by maintainers to be a bug. label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something is not working, and it is confirmed by maintainers to be a bug.
Projects
Status: No status
Development

No branches or pull requests

2 participants