I’ve created repo, with standard commands
git init
git add .
git remote add origin ssh://trololo.lo/~/git_rep.git
git commit -a -m "trololo"
git push origin master
After that i’ve created empty repo on another machine, pulled origin. Some files are missing, any idea why and what I should do?
Before you do the
commit, rungit statusand make sure that you’re committing what you think you’re committing. If you can rungit statusafter the commit and get anything other than aworking directory cleanmessage, then there was something that you forgot toaddbefore committing.