I'm cloning a repository from Github with GIT, in a remote environment running CentOs, using:
git clone https://myuser:mypass@github.com/Myrepository/repo.git
and is checking out all the files, except the ones starting with a dot
.htaccess .htpasswd
Notes:
- The missing files show up on the Github repository
- These files are not included in .gitignore
- I'm listing the files on the server by using
ls -a
command
Is there any flag I need to add in order to checkout these files too?
[SOLUTION]
The problem wasn't with the git clone command, the missing dotfiles were due to another command executed afterwards
mv /path/one/* /path/two
Which moved everything except the dotfiles.
Thanks for your replies!