Git clone into non-empty directory Published on Feb 14, 2020 123456789cd nonemptydirgit initgit remote add origin https:path/to/the/repository.gitgit pull origin master --allow-unrelated-historiesstree . // To view the repogit add -Agit commit -m 'first commit'git push -u origin master Please enable JavaScript to view the comments powered by Disqus. Please enable JavaScript to view the comments powered by Disqus.