News for hackers. Stuff that matters.
Re:Git in six hundred words by davess1 on Sunday May 10, 2015 @01:20PM (#9520573)
Nope, git can be initialized in directories with files in them.

  ➜  ~  mkdir test1
  ➜  ~  cd test1 
  ➜  test1  echo "hello" > hello.ttx
  ➜  test1  ls
  hello.ttx
  ➜  test1  git init
  Initialized empty Git repository in   /home/david/test1/.git/
  ➜  test1 git:(master) ✗ git status
  On branch master

  Initial commit

  Untracked files:
    (use "git add <file>..." to include in what will be committed)

  hello.ttx

  nothing added to commit but untracked files present (use "git add" to track)
  ➜  test1 git:(master) ✗
Re:Git in six hundred words by michaelmcmillan on Sunday May 10, 2015 @01:25PM (#9520594)
I stand corrected, wonder where I got that misconception from.
Re:Git in six hundred words by mh- on Sunday May 10, 2015 @03:36PM (#9521056)
you can't clone a remote repo into a non-empty directory.

from `man git-clone`:

    Cloning into an existing directory is only allowed if the directory is empty.
Re:Git in six hundred words by logicallee on Sunday May 10, 2015 @03:28PM (#9521034)
you probably read a git tutorial.