-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I just created a new local-only repo with git init (meaning, there is no origin), initialized a git flow in it with git-flow-next 1.0.0, started a feature, created some commits and when I wanted to finish the feature I got a couple of error messages:
Fetching from remote 'origin'...
Note: Could not fetch base branch 'develop': failed to fetch branch 'develop' from 'origin': Fatal: 'origin' does not appear to be a git repository
Fatal: Could not read from the remote repository.
Please make sure you have the correct access rights
and that the repository exists.
Note: Could not fetch topic branch 'feature/lorem1': failed to fetch branch 'feature/lorem1' from 'origin': Fatal: 'origin' does not appear to be a git repository
Fatal: Could not read from the remote repository.
Please make sure you have the correct access rights
and that the repository exists.
Fetch completed
Switched to branch 'develop'
Merging using strategy: merge
Successfully finished branch 'feature/lorem1' and updated 0 child base branches
However, so far git-flow-next did what I expected (what it also writes about): the feature branch got merged into develop, which is now ahead of main, but please let git-flow-next check if a remote repo even exists before trying to execute commands with it. It also makes me wonder how git-flow-next behaves if there is a remote repo but no networking to reach it. It may cause delays and error messages as well.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working