git clone
on the .git/config
file. git init
etc): git init --quiet repo cd repo
'hello world' > file.txt git add file.txt git commit . --quiet -m "+ file.txt"
cd .. git clone --quiet repo repo.clone cd repo.clone
cat .git/config
.git/config
is: [core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true [remote "origin"] url = C:/…/git/commands/clone/config/repo fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master