Twindle: Problem with local desktop PR

Created on 15 Oct 2020  路  14Comments  路  Source: twindle-co/twindle

warn: No match for commit 84690c850e986d19789c415009e5ce3177dfa16d found at https://github.com/twindle-co/twindle.git
warn: Are you sure you pushed 'HEAD' there?

H陌, when i try to do my second PR i get these errors i've checked on stackoverflow and they say i have to push first. But when i try to push permission is denied remotely. Can anyone help ?
resim_2020-10-15_110927

question

Most helpful comment

As mentioned in the Documentation, you needed to do sync your forked repo first with the main repo before making your local changes, like:

git remote add upstream https://github.com/twindle-co/twindle.git
git fetch upstream
git merge upstream/main
git push origin main

Then make your local changes and then do git add, commit and then finally do git push.

All 14 comments

As mentioned in the Documentation, you needed to do sync your forked repo first with the main repo before making your local changes, like:

git remote add upstream https://github.com/twindle-co/twindle.git
git fetch upstream
git merge upstream/main
git push origin main

Then make your local changes and then do git add, commit and then finally do git push.

I'm facing the same problem. I synced the local with upstream, than made my changes, but same problem goes.
image

I cannot create a pull request from commit f9f8bc7408841a3669b415e360f72ead11f8b918 to upstream

Hey, can you pls check whether ur local and remote repo is in sync via this command git status -uno.

Hey, can you pls check whether ur local and remote repo is in sync via this command git status -uno.

It prints
Your branch is up to date with 'origin/main'

Nice. Then try to create a pull request via a web interface(If you had made any new changes). Are you still getting an error while doing that? If so pls let me know the error message

Nice. Then try to create a pull request via a web interface(If you had made any new changes). Are you still getting an error while doing that? If so pls let me know the error message

I did successfully by using the github's website, but I'm wondering why it is not working from terminal. We'll see in future PR's, how will it go. @Rakesh-4 Thank you anyway

Nice. Post me that error let me have a look.

image

I was having this error, but none occurred in GitHub's website

As of February 2020, you can now use GitHub CLI and then easily Create a pull request from command line like:

It's not an error just a warning saying the changes you made isn't for remote server as it won't be available for others to pull your changes so you need to push you changes to the remote server first and the warning will go away.

Thanks guys, I'll try a dummy PR to solve this problem, as soon as I can.

@johnjacobkenny can this be closed now since it is fixed? 馃榿

Sure, please close if it's fixed!

I can close it hehe.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vasudeveloper001 picture vasudeveloper001  路  4Comments

Akshay2996 picture Akshay2996  路  6Comments

proful picture proful  路  4Comments

johnjacobkenny picture johnjacobkenny  路  8Comments

proful picture proful  路  6Comments