-
-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Description
Steps to reproduce
- create a branch and delete its remote
- switch to the branch locally
- run
git sync --prune
Command output
$ [kg-readme] > git sync --prune
[kg-readme] git fetch --prune --tags
[kg-readme] git checkout main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
[main] git push origin :kg-readme
To github.com:kevgo/mortadella-ruby.git
- [deleted] kg-readme
[main] git branch -D kg-readme
Deleted branch kg-readme (was 5cf55f1).
deleted branch "kg-readme"
Error: cannot list diff of "kg-readme" and "kg-readme":
----------------------------------------
Diagnostic information of failed command
COMMAND: git rev-parse kg-readme origin/kg-readme
ERROR: exit status 128
OUTPUT START
fatal: ambiguous argument 'kg-readme': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
kg-readme
OUTPUT END
----------------------------------------
To continue after having resolved conflicts, run "git town continue".
To go back to where you started, run "git town undo".
To continue by skipping the current branch, run "git town skip".Additional information
In the example above, the branch kg-readme was shipped at the remote.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels