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

FAQ / Common errors and how to resolve them. #30831

Open
Roshanjossey opened this issue Sep 19, 2020 · 17 comments
Open

FAQ / Common errors and how to resolve them. #30831

Roshanjossey opened this issue Sep 19, 2020 · 17 comments

Comments

@Roshanjossey
Copy link
Member

Roshanjossey commented Sep 19, 2020

This issue thread is to address common problems you might encounter while following this tutorial. If you don't find the problem you're facing in here, comment below.

  1. when trying to push, getting a 403 error code saying "Permission Denied"

    You might not have cloned your fork of first-contributions. Make sure that you go to your fork and clone it from there.

  2. Can't compare to create pull request
    image

    Delete your fork and fork this repository again.

  3. There is a merge conflict
    image
    Try this https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/resolving-a-merge-conflict-on-github

@abideen305
Copy link

If you have issue with pushing when you fork a repository, it probably means that the url you copied is the origin repository which you don't have access to. You will need to copy the url from your own repository.

@endrose
Copy link

endrose commented Oct 1, 2020

  1. cant push maybe in windows credential get problem.
    image
    trying remove, and set config again " git config --global user.email and git config --global user.name " git remote set-url origin "URL" then trying push again

@sara-02 sara-02 unpinned this issue Oct 4, 2020
@Roshanjossey Roshanjossey pinned this issue Jan 5, 2021
@Roshanjossey
Copy link
Member Author

@sara-02, let's keep this pinned. Issues is one of the places people check when they run into problems. Also, I think having more visibility for this issue could result in us understanding more problems users are facing.

@sara-02 sara-02 unpinned this issue Mar 7, 2021
@ghost ghost mentioned this issue Mar 18, 2021
@Roshanjossey Roshanjossey pinned this issue Mar 20, 2021
@diyelectromusic
Copy link

When running through the Github Desktop GUI tutorial, I encountered the "what are you planning to do with this fork" and didn't know what to select. I cancelled that and then the rest of the tutorial worked fine - but I still don't know which of the two options it chose or the implications of that choice (I'm working on the assuming it chose "contribute to the parent project").

Many thanks for writing these tutorials for a github newbie like me!

(Also, a more prominent link to this FAQ issue might be useful on all tutorials?)

Kevin

@bebotcowboy
Copy link

I'm on the step for first contributions that says "Submit your changes for review" and I'm supposed to click a "Compare & pull request button" but it is nowhere to be found. Any help or tips on what I did wrong or what I can do to submit?

@peterthankgod
Copy link

Revisiting the steps and you will find out the error for correction

@BarzinDevelops

This comment was marked as off-topic.

@Roshanjossey
Copy link
Member Author

Hi @BarzinDevelops, if you check the top of your PR pages, you can see there many lines being modified.
image
That's the problem. I understand that you're not doing this. My guess is that your text editor is formatting the file.
Try to disable auto formatting to avoid this. Or try a different editor.

The good thing is you've learned how to make changes and submit a pull request with this tutorial. The names in that file are not that important. We remove them from time to time to make it easy to open in most text editors.

@Abhishekverma2002
Copy link
Contributor

I did a mistake by not making a separate branch and trying to make changes to the main branch itself.

@MirandaPoth
Copy link
Contributor

When running through the Github Desktop GUI tutorial, I encountered the "what are you planning to do with this fork" and didn't know what to select. I cancelled that and then the rest of the tutorial worked fine - but I still don't know which of the two options it chose or the implications of that choice (I'm working on the assuming it chose "contribute to the parent project").

Many thanks for writing these tutorials for a github newbie like me!

(Also, a more prominent link to this FAQ issue might be useful on all tutorials?)

Kevin

I have this question too. Does anyone have the answer please?

@Laiba-Akram
Copy link
Contributor

Laiba-Akram commented Oct 18, 2022

remove the red underline conflict or remove the conflict after resolve conflict button .

if it does't work close pull request and create pull request again

@he-weilai
Copy link
Contributor

he-weilai commented Dec 17, 2022

My fork branch has been updated, but why can't I pull requests? I have two local branches, one is "main", and the other is my modified branch. I push the modified branch to the github branch of my fork, and then the problem that the request cannot be pulled in the following figure occurs.

image

@he-weilai
Copy link
Contributor

Now it has been solved.

@jasonldx
Copy link

jasonldx commented Apr 9, 2023

Hey @huawuque404, what is your solution? I had same issue but can't figure out how to solve it, thanks

@he-weilai
Copy link
Contributor

Hey @huawuque404, what is your solution? I had same issue but can't figure out how to solve it, thanks

My situation is to directly pull the request under first contributions, and I have encountered this problem. I can just pull the request in my own fork warehouse

Not here
image

But here
image

Hope to help you.

@Farhern
Copy link

Farhern commented Aug 30, 2023

the slack link on github is broken, can i please get a new link so that i can update and contribute to it?

@Salm55
Copy link

Salm55 commented Sep 26, 2023

Balkha event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

15 participants