Kyle,
Thanks, I suppose that works well enough for my needs. I wasn't aware
that aliases were that flexible in git.
I also have no problem to git-init and do all the other steps manually.
Thanks,
Diego
On Sat, Mar 7, 2015 at 11:32 PM, Kyle J. McKay wrote:
> On Mar 7, 2015, at 17:53, Diego Vio
On Mar 7, 2015, at 17:53, Diego Viola wrote:
Something like this is the scenario I'm talking about:
$ mkdir non-empty-dir
$ cd non-empty-dir
$ touch foo bar baz
$ git clone -f url:user/dotfiles.git .
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
Something like this is the scenario I'm talking about:
$ mkdir non-empty-dir
$ cd non-empty-dir
$ touch foo bar baz
$ git clone -f url:user/dotfiles.git .
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add ..." to include in what will be
Sorry, I wanted to say: I know I can git-clone in a empty directory
and then move the files over to $HOME.
I know I can git init in a non-empty directory. :-)
Thanks,
Diego
On Sat, Mar 7, 2015 at 7:26 PM, Andreas Schwab wrote:
> Diego Viola writes:
>
>> I know I could git-init in a empty dire
On Sat, Mar 07, 2015 at 11:26:28PM +0100, Andreas Schwab wrote:
Diego Viola writes:
I know I could git-init in a empty directory
You can also git init a non-empty directory.
I have a script to set up a new throwaway VM with my dotfiles using git.
It looks a bit like the following ($BRANCH
Diego Viola writes:
> I know I could git-init in a empty directory
You can also git init a non-empty directory.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubs
Hello,
I was thinking about creating a new repository in my home dir so that I could
keep my dot files in it.
However, I found that I can't do a `git clone url:user/repo.git .` in a
non-empty directory.
Is there a possibility of implementing a -f switch to git-clone so that when I
use that, git
7 matches
Mail list logo