Git unable to push to remote repository: “Read-only file system”

Trying to push to a remote repository gives me the error:

error: unable to create temporary sha1 filename : Read-only file system

  • Why is git-svn trying to use an old branch point?
  • Git Workflow With Capistrano
  • how could this git “merge commit” can have 1 parent only
  • Is it possible to have a git repo inside another git repo
  • Git: can't undo local changes (error: path … is unmerged)
  • Creating staging and production versions of a site on Github Pages
  • Funny enough, it worked perfectly fine for the push 30 minutes earlier. Another thing worth noting is that I’m the only one pushing/commiting/accessing this repository.

    SSHing into my repository server trying to chown, chmod, copy, rename etc the repository, I keep getting the error Read-only file system. Listing the owner of the repository by using ls -ld my-repo.git yields:

    drwxrwsr-x 7 my_user users 248 Jul 20 14:56 my-repo.git/

    Looks proper, owned by me, right? I don’t understand why this is happening. Any suggestions on how to solve this extremely annoying problem would be highly appreciated!

  • Cleaning up git history
  • how do I undo another developers git push to the master branch
  • Retroactively convert a UCS-2 file to UTF-8 in Git
  • git push is very slow for a branch
  • In Git, local branches can track one another - how is this useful?
  • Git pulls a push.default warning
  • One Solution collect form web for “Git unable to push to remote repository: “Read-only file system””

    your disk broke and the OS remounted it as readonly to save it. see /var/log/messages and the output of “mount” to confirm.

    Git Baby is a git and github fan, let's start git clone.