Error trying to push a commit

Asked

Viewed 213 times

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?

  • 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

  • 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

  • And that right there and I don’t know how to do it since I don’t have access to only serves the clone.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.