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

Homer overwrite local files? #12

Open
akash329d opened this issue Jul 22, 2022 · 0 comments
Open

Homer overwrite local files? #12

akash329d opened this issue Jul 22, 2022 · 0 comments

Comments

@akash329d
Copy link

Bit confused by this excerpt from the README.

After copying the .git directory (the actual data contents of the repo) to your home directory, it will rungit reset --hard HEADto "rehydrate" all the files of the working copy in the home directory rather than in the place it was checked out. This is to ensure that any overwritten files will have a diff to show you what changed, and none of your files that currently exist in the home directory will be accidentally deleted.

I'm confused how the overwritten files will have a diff in this case, if you do a hard reset won't that immediately overwrite local files with the ones you have in your dotfiles repo? (With no way of reverting it).

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

1 participant