touch test
git add test
git commit -m "test"
git push -u origin master
This worked. The file was uploaded to the repository.
rm test
cp -R ../website ./website
git rm test
git add website/
git commit -m "Initial"
git push -u origin master
This did not give any output, and nothing seems to have bee done to the repository. The test file is still present in the repository.
$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
nothing to commit (working directory clean)
Can anyone assist?
Recreated the branch on both client and server, to no succes. It works when there's just one file inside, but it will simply not push the website folder to the server.
This is the only strange thing I can see; POST git-receive-pack (chunked)
-u
for push? What are your remotes? What doesgit branch -v
prints? Are they the location that you are watching online? – Virga--verbose
option togit push
to debug the problem. – Lamp-u
the same things happens. Which is to say; nothing happens. – Gaekwar$ git branch -v
-->* master 55cfce5 [ahead 1] Initial
– Gaekwargit fetch
first, make sure the remote works correctly – Penny