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

  • `git rebase` entire branch-tree
  • Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain
  • docker add cache when git checkout same file
  • Ignore folder in stable, but not in devel branch
  • What happens behind the scenes when I do a repo sync?
  • how to overwrite the defaul.xml after repo init
  • 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!

  • How to review which gpg homedir version and `homedir` Git cmd is using?
  • How do git grafts and replace differ? (Are grafts now deprecated?)
  • Xcode 5 and shared Schemes
  • Automatically Add Git Version with PHPDoc
  • Rebasing from stash, strange result
  • Capistrano + Git : repository local to production server
  • 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.