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

Push fails in 1.0.2 #1

Open
ashanbrown opened this issue Feb 25, 2022 · 0 comments
Open

Push fails in 1.0.2 #1

ashanbrown opened this issue Feb 25, 2022 · 0 comments

Comments

@ashanbrown
Copy link

Thanks for sharing this tool. I tried your latest version but had to revert to 1.0.1 because I don't think the shallow clone clones enough history to be able to push up to another branch. I think you probably need a depth of at least 2 (or more if multiple commits have been added). I'm curious if this worked for you. This failure looked like this:

 ! [rejected]          main -> main (fetch first)
error: failed to push some refs to '***github.com/<redacted>.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant