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" "Pull" problems #68

Open
dkanos14 opened this issue Oct 6, 2020 · 2 comments
Open

"Push" "Pull" problems #68

dkanos14 opened this issue Oct 6, 2020 · 2 comments

Comments

@dkanos14
Copy link

dkanos14 commented Oct 6, 2020

Good day,

I made changes to my code, and I am trying to change it and push it however it generates these errors that said I would need to "pull" from GitHub before pushing it back. I tried to do that, and it came back with this error.

"error: Your local changes to the following files would be overwritten by merge:
README.md"

Could you please advise?

@deblnia
Copy link

deblnia commented Oct 6, 2020

You appear to have a merge conflict. Pulling from the website, "merge conflicts occur when there are differences between merged files." This is a good starting point to resolve it, but be sure to use the terminal tab and not the R console.

@deblnia
Copy link

deblnia commented Oct 6, 2020

If you don't want to bother with that, the brute force way to resolve this would be to:

  1. Copy all the content in your README somewhere else temporarily (maybe a word doc)
  2. Delete your local README
  3. Pull the README Github sees to your local machine (just a simple pull)
  4. Copy the text you put aside in step 1 into this README

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

2 participants