You are not logged in.

#1 2015-09-24 20:30:04

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 170

Dotfiles and version control

I was reading through the wiki page https://wiki.archlinux.org/index.php/Dotfiles, and there was one thing that I'm still unsure about. The page suggests to treat whole home folder as a git folder. And while it suggests to exclude everything at the beginning, I cannot help but wonder, what are the advantages/disadvantages over creating a separate folder, symlinking dotfiles into that and sharing it on github? What's safer/more used/good practice/etc?

Offline

#2 2015-09-24 20:33:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Dotfiles and version control

Don't think there's a right answer to your question.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2015-09-24 20:34:49

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 170

Re: Dotfiles and version control

That's why I don't want answers, but opinions.

Offline

#4 2015-09-24 20:53:58

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,413
Website

Re: Dotfiles and version control

Some people use "symlink farms" because they fear commands like `git clean` will delete untracked files. Thing is, when you exclude everything, there's no untracked files. So it's added complexity at little to no benefit.

Last edited by Alad (2015-09-24 20:55:28)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#5 2015-09-24 21:02:18

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: Dotfiles and version control

Otherwise there is vcsh. But this adds an additional dependency for handling my dotfiles, and I'm usually happy if I can fetch my dotfiles repo from any machine that's got git (which is usually a reasonable assumption), so I don't use it personally. But some people combine it with mr.

Last edited by ayekat (2015-09-24 21:04:42)


pkgshackscfgblag

Offline

#6 2015-09-24 21:08:51

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Dotfiles and version control

I use dotbot to handle my dotfiles.

Take a look at the link in my sig if you want to see how I've set everything up.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB