Skip to content

Instantly share code, notes, and snippets.

@TechplexEngineer
Last active December 19, 2015 15:59
Show Gist options
  • Select an option

  • Save TechplexEngineer/5980276 to your computer and use it in GitHub Desktop.

Select an option

Save TechplexEngineer/5980276 to your computer and use it in GitHub Desktop.
Deploy with git
  • remote: fatal: this operation must be run in a work tree

    • make sure your GIT_WORK_TREE= is set to a directory that exists and is writeable
  • remote: fatal: You are on a branch yet to be born

    • Gotta tell it what branch to checkout
  • remote: chgrp: changing group of `<file or folder>': Operation not permitted

    • To change the group ownership of a file to another group you have to be a member of that group or root.
    • Is your [git] user a member of the [www-data] group?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment