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

Pulling Master Branch Error #23

Open
ntfredo opened this issue Jun 22, 2015 · 4 comments
Open

Pulling Master Branch Error #23

ntfredo opened this issue Jun 22, 2015 · 4 comments

Comments

@ntfredo
Copy link
Contributor

ntfredo commented Jun 22, 2015

error: The following untracked working tree files would be overwritten by merge:
.Rbuildignore
.gitignore
ClimateObject.Rproj
Please move or remove them before you can merge.
Aborting

@Fshem
Copy link
Contributor

Fshem commented Jun 22, 2015

May be this can help: git fetch --all, which fetches remote changes from all branches to local repository and it does not affect working directory.
You can also use git reset --hard origin/master if you want to remove uncommited changes from your working directory.

@ntfredo
Copy link
Contributor Author

ntfredo commented Jun 22, 2015

Thanks Fanuel. The first option wasn't working for me but the second worked well.

@ntfredo
Copy link
Contributor Author

ntfredo commented Jun 23, 2015

It seems like there is something wrong while pulling on the master branch. I am not sure what is going on. Any one who understand what is going on can help us. Here is the message I got:

error: The following untracked working tree files would be overwritten by merge:
R/ClimateMethods/DataManipulation/summary_statistics_method.R
Please move or remove them before you can merge.
Aborting

@AndreeMN
Copy link
Contributor

Hi fredo,

You can go to your project directory and issue the command "git stash" in
the terminal.
See https://git-scm.com/book/en/v1/Git-Tools-Stashing
https://git-scm.com/book/en/v1/Git-Tools-Stashing

Hope this help.

Andree

On 23 June 2015 at 09:39, Frederic Ntirenganya [email protected]
wrote:

It seems like there is something wrong while pulling on the master branch.
I am not sure what is going on. Any one who understand what is going on can
help us. Here is the message I got:

error: The following untracked working tree files would be overwritten by
merge:
R/ClimateMethods/DataManipulation/summary_statistics_method.R
Please move or remove them before you can merge.
Aborting


Reply to this email directly or view it on GitHub
#23 (comment)
.

Regards,

Andree Mentho Nenkam
African Institutes for Mathematical Sciences, Ghana Meteorological
Agencies

email: [email protected], [email protected] [email protected]
facebook: Van Nenkam
contact: +233-542-288-380
"I have found a paradox, that if you love until it hurt, there can be no
more hurt, only more love." Mother Theresa

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

3 participants