-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Steps to reproduce:
- Create a repo on oxen.ai, say
bug-repowith readme
- On local machine,
mkdir test-bug && cd test-bug && mkdir dir && touch dir/somefile.txt oxen init oxen add dir oxen commit -m "add dir" oxen config --set-remote origin https://hub.oxen.ai/<user-name>/bug-repo - Try push with
oxen pushwhich will error like
🐂 oxen push origin main -> e34aad8fb0ae69279ebf379a53b93e11
Error pushing: Branch main is behind bbf80d9717dd8fecda74f33d97f8b8fb must pull.
Run `oxen pull` to update your local branch
Branch main is behind bbf80d9717dd8fecda74f33d97f8b8fb must pull.
Run `oxen pull` to update your local branch
- Follow the suggestion: run
oxen pullwhich will "merge" the commits - Now you've reproduced the bug, just check
ls dirand you will findsomefile.txtis gone. And there's no commits left inoxen logthat refer to the "add dir" commit.
Metadata
Metadata
Assignees
Labels
No labels