• My server (OpenShift) uses GIT to push WordPress changes instead of FTP.

    I can’t upload this plugin as-is because the source is full of .git and .gitignore’s.

    wp-content/plugins/crayon-syntax-highlighter//.gitignore
    wp-content/plugins/crayon-syntax-highlighter//.gitmodules
    wp-content/plugins/crayon-syntax-highlighter//js/jquery-colorpicker/.git
    wp-content/plugins/crayon-syntax-highlighter//js/jquery-colorpicker/.gitignore
    wp-content/plugins/crayon-syntax-highlighter//langs/vbnet/.git
    Jasons-MacBook-Pro-2:plugins jasonhendriks$ git add .
    fatal: Not a git repository: wp-content/plugins/crayon-syntax-highlighter/js/jquery-colorpicker/../../.git/modules/js/jquery-colorpicker

    The wordpress.org repo is Subversion, so some witchcraft is going on here!

    I saw @jamieschmid’s post about the same issue here, but I’m not sure her solution is a solution, or any better than just deleting the files above. I’m pretty sure these files are just going to come back on the next plugin update, unless they are purged by the author before any Subversion commit.

    https://wordpress.org/plugins/crayon-syntax-highlighter/

  • The topic ‘GIT failures’ is closed to new replies.