Re: Keeping your dotfiles in git

2008-08-27 Thread Benjamin M. A'Lee
On Wed, Aug 27, 2008 at 01:28:47PM +0100, martin f krafft wrote: > This works reasonably well for me, but I have yet to figure out how > to deal with .gitignore. I've been using a repository layout based on an earlier email you sent to the list; I keep gitignore files in ~/.var//gitignore and set

Re: Keeping your dotfiles in git

2008-08-27 Thread martin f krafft
also sprach [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2008.08.26.2255 +0100]: > Google and you can find lots of people who keep their dotfiles in > a git repository. Usually they create a directory such as > ~/dotfiles/ and they move all the dotfiles they want to track into > that directory, and creat

Re: Keeping your dotfiles in git

2008-08-27 Thread chombee
Ok, I see the points regarding why you should use symlinks, why it's worth putting things in a dotfiles directory, and why you can't just use a single ln command to create the symlinks. I wonder what you should use instead then? A simple script seems to be in order. If I were to write a script I wo

Re: Keeping your dotfiles in git

2008-08-26 Thread Aristotle Pagaltzis
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2008-08-27 00:00]: > I fail to see the point in having a dotfiles directory. […] Why > not just create the git repository directly in your homedir? For Subversion there might not be a point. For git and most other DVCS, there is: since it tracks trees and n

Re: Keeping your dotfiles in git

2008-08-26 Thread Joey Hess
[EMAIL PROTECTED] wrote: > Second, to create all the symlinks you only > need a simple command not a script: `ln -s ~/dotfiles/* ~/`. That won't deal with dotfiles that are renamed or deleted. > I'm not entirely clear on why, in the examples I've seen, the -s option is > used to create symbolic

Keeping your dotfiles in git

2008-08-26 Thread chombee
I was doing this briefly in the past (and spoke about it on this list), but the system I setup was too awkward and it soon got left behind. Now I'm revisiting the idea, and I want to do it in as simple and convenient a way as possible. For one thing, I'm planning on using GitHub as the central serv