[git-users] Re: Moving repository

2009-09-09 Thread Andrea Crotti
On 8 Set, 18:38, Brett Viren wrote: > I use a repository called "dot" that I clone to $HOME/.dot/ and then > run a script that will make a few symlinks from locations under > $HOME/.dot/... to $HOME/... as needed.  For example > ~/.dot/emacs/generic.el gets symlinked to ~/.emacs and the generic.e

[git-users] Re: Moving repository

2009-09-09 Thread Jeffrey
For what it's worth, my approach to this is simply to put the repo in ~/.home.git and create an alias for 'git --git-dir="$HOME/.home.git"', wildcard ignore everything, then add back in a few things. I'd definitely think about something like this or Brett's version, since it's much more extensibl

[git-users] git-archive, selecting files by patterns

2009-09-09 Thread Jeffrey
I would like to create an archive of a subset of the content tracked by my repository. Ruling out some options: - I'd really like to use git-archive, since it's far faster than manually using tar with a file list. I assume this is because git can read out of the repo, which is compressed and ther

[git-users] help for losed files after git commit.

2009-09-09 Thread QT
git checkout branch_1 git checkout head; git add file_1; git commit -a -m"prepare to add init()"; git checkout master. It seems my commit of add file_1 is disappeared. Can I find it? Thanks for your attention. --~--~-~--~~~---~--~~ You received this message becaus