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

End up with .git in my home directory #78

Closed
stuaxo opened this issue Apr 27, 2022 · 5 comments
Closed

End up with .git in my home directory #78

stuaxo opened this issue Apr 27, 2022 · 5 comments

Comments

@stuaxo
Copy link

stuaxo commented Apr 27, 2022

I end up with a .git symlinked to Dotfiles/.git this isn't a feature I'm keen on and want to keep the repo separate from the home directory.

Would you consider excluding .git when symlinking by default ?

dotfiles version is v0.6.4

@jbernard
Copy link
Owner

jbernard commented Apr 28, 2022 via email

@stuaxo
Copy link
Author

stuaxo commented Apr 28, 2022

That's a good question, I haven't quite worked it out yet, just that I managed it multiple times.

Sorry - not a great bug report yet!

I am still using the version from pip, so I should probably swap to master I guess anyway ?

@stuaxo
Copy link
Author

stuaxo commented Apr 28, 2022

For now I'll close this until I can actually reproduce it... I thought I'd give you a headsup even though I'm not quite sure how it happened, since I've done it a few times, just not sure what I've been doing.

@stuaxo stuaxo closed this as completed Apr 28, 2022
@jbernard
Copy link
Owner

jbernard commented Apr 28, 2022 via email

@stuaxo
Copy link
Author

stuaxo commented May 3, 2022

In the past I've made bugs my own code when I'm joining paths and some presumption isn't right (e.g. subtract some path and add another).

My setup -

Dotfiles is a symlink to ~/projects/mine/dotfiles

What I was doing

In the home directory, the Dotfiles directory and at least one other directory:

Ran

dotfiles -c
and
dotfiles -s

(Mostly because I couldn't remember which flag was which).

I have .git in my list of files to ignore.

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