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

Problems on initial mr update #189

Closed
bertenvdb opened this issue Dec 26, 2015 · 2 comments
Closed

Problems on initial mr update #189

bertenvdb opened this issue Dec 26, 2015 · 2 comments

Comments

@bertenvdb
Copy link

I can't seem to clone my dotfiles on a new host.

Steps followed:

  • vcsh clone gitlab:dotfiles/mr.git
  • symlinking wanted repos
  • cd
  • mr update

mr update generates this error (for all repos):

vcsh: error: '.bashrc' exists.

Further mr update commands generate:

error: Untracked working tree file '.bashrc' would be overwritten by merge.

On the host where I created the repos, I can update/push/pull/clone without any problems. This is the first time I am moving my dotfiles to a new host.
I read issue #150 about the same problem, but can't seem to understand why it wouldn't be normal to have existing files I want to replace by the ones in my dotfile repos. Most software install default config/rc files, so I must be doing something wrong or maybe I am misinterpreting the full vcsh/mr concept...
In my example repo bash, there's already a .bashrc file present. Do I need to delete this before I run mr update?

vcsh 1.20141026
git version 2.1.4

@RichiH
Copy link
Owner

RichiH commented Dec 27, 2015

I think I will need to account for this in a future release. It's not something I designed for as I thought it would confuse users. Seems that's also the case with existing functionality, so...

Anyway, to fix your current issue, simply mv ~/.bashrc ~/bashrc.backup and you're good to go.

@RichiH
Copy link
Owner

RichiH commented Dec 27, 2015

I openend #190 to track this.

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

2 participants