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
Cannot push to GitHub #77
Comments
If you change a commit that had been pushed to the fork already, you need to do a force-push. The remote repo will reject a normal push that changes commits that are already in the repo. Might have to use the command line to do a force push (last time I checked, can't do a force push using SourceTree). |
I'm not sure if this is the right way but I fixed it by making sure that my code on github is the most updated version, then I used IntelliJ to "get from git version control" again. Then open up SouceTree and locate the new local repo I cloned. Go to remotes -> branches -> check out on all the branches and they will show up in the "branches" tab of your local repo, and I think it will show up when you click on push. |
Versions:
IntelliJ : 2019.3.1
SourceTreeSetUp-3.3.9
JDK: 11
Context (What I did step by step):
tl;dr: My branch-A-JavaDoc and branch-A-CodingStandard is not appearing as local repo option to push. When I try to push there is some error which I do not know how to resolve.
Thank you for the assistance in advance. I can clarify again if there is anything not clear.
Screenshot below:
![Error1](https://user-images.githubusercontent.com/54731199/91254557-46ab5b80-e795-11ea-807e-e14120c90d6c.JPG
The text was updated successfully, but these errors were encountered: