I want to add my project to remote repo with another projects.
I tried to execute next:
git init
git add --all
git commit -a -m 'first commit'
git remote add origin https://myrepo.git
git push origin master
And received error that 'updates were rejected because the remote contains work that you do hint not have locally'.
I added it with 'git push -f origin master', but it was not very clever, because I removed another projects.
Is it possible to add and updated only my project without editing another ones?