1
I’m new to git through the terminal, I’m facing the following problem and I can’t force it. Does anyone know how I can proceed to correct this error?
$ git push
stdin: is not a tty
Counting objects: 4, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 381 bytes | 381.00 KiB/s, done.
Total 4 (delta 3), reused 0 (delta 0)
To
! [remote rejected] master -> master (Working directory has unstaged changes)
error: failed to push some refs to '
If you do a git status, what it returns?
– Daniel Mendes
It returns : $ git status In the master branch Your branch is ahead of 'origin/master' for 1 commit. (use "git push" to Publish your local commits) Nothing to commit, Working Tree clean
– Richard Aguiar
The repository on the remote server is
bare
? Or does it contain the files themselves? It seems to me that someone has modified on the server that you are connecting some file and left it without listing– Jefferson Quesado
And that right there and I don’t know how to do it since I don’t have access to only serves the clone.
– Richard Aguiar