, 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:
(use git
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 sch...@linux-m68k.org wrote:
Diego Viola diego.vi...@gmail.com writes
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
will be committed)
bar
baz
foo
nothing added to commit but untracked files present (use git add to track)
On Sat, Mar 7, 2015 at 9:02 PM, Diego Viola diego.vi...@gmail.com wrote:
Sorry, I wanted to say: I know I can git-clone in a empty directory
and then move the files over to $HOME
4 matches
Mail list logo