Title: Flashwit's Replies | WordPress.org

---

# Flashwit

  [  ](https://wordpress.org/support/users/flashwit/)

 *   [Profile](https://wordpress.org/support/users/flashwit/)
 *   [Topics Started](https://wordpress.org/support/users/flashwit/topics/)
 *   [Replies Created](https://wordpress.org/support/users/flashwit/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/flashwit/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/flashwit/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/flashwit/engagements/)
 *   [Favorites](https://wordpress.org/support/users/flashwit/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Revisr] Unable to create repository](https://wordpress.org/support/topic/unable-to-create-repository/)
 *  Thread Starter [Flashwit](https://wordpress.org/support/users/flashwit/)
 * (@flashwit)
 * [11 years ago](https://wordpress.org/support/topic/unable-to-create-repository/#post-6101247)
 * It’s the Economy Linux Hosting plan.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Revisr] Unable to create repository](https://wordpress.org/support/topic/unable-to-create-repository/)
 *  Thread Starter [Flashwit](https://wordpress.org/support/users/flashwit/)
 * (@flashwit)
 * [11 years ago](https://wordpress.org/support/topic/unable-to-create-repository/#post-6101195)
 * I may not know exactly what I’m doing, but I did try running the code again that
   you showed but I just replaced the ‘which /usr/bin/git’ section with just ‘git’
   and it still said the command wasn’t found.
 *     ```
       <?php echo exec( 'whoami' ); 
   
       exec( 'git 2>&1', $output, $return );
       var_dump( $output );
       var_dump( $return );?>
       ```
   
 * Output
 * `safew0rdarray(1) { [0]=> string(26) "sh: git: command not found" } int(127)`
 * safew0rd is the username of the ftp account
 * But yeah, you’re right, the user seems to have no idea that git is installed.
   For fun, I installed Gitium to see what it would say, and it also has no idea
   where git is.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Revisr] Unable to create repository](https://wordpress.org/support/topic/unable-to-create-repository/)
 *  Thread Starter [Flashwit](https://wordpress.org/support/users/flashwit/)
 * (@flashwit)
 * [11 years ago](https://wordpress.org/support/topic/unable-to-create-repository/#post-6101194)
 * It’s running as my ftp user which definitely has access to everything.
 * On the other hand, the which command is not available which makes me suspect 
   that GoDaddy has disabled a ton of stuff for their shared hosting plans.
 * Sorry about saying that ‘which git’ has previously returned the path I noted 
   above as that is what I had been told by someone else involved in our website.
 * I have however now run ‘whereis git’, ‘type git’, etc. and they all say ‘/usr/
   bin/git’ so it must be correct. It’s possible then that Revisr will simply not
   be able to run since it may use commands via exec that GoDaddy has disabled.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Revisr] Unable to create repository](https://wordpress.org/support/topic/unable-to-create-repository/)
 *  Thread Starter [Flashwit](https://wordpress.org/support/users/flashwit/)
 * (@flashwit)
 * [11 years ago](https://wordpress.org/support/topic/unable-to-create-repository/#post-6101188)
 * I tried manually running ‘git init’ in the folder that has wp-config in it but
   Revisr doesn’t seem to be detecting that either. Is that where that should be
   run?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Revisr] Unable to create repository](https://wordpress.org/support/topic/unable-to-create-repository/)
 *  Thread Starter [Flashwit](https://wordpress.org/support/users/flashwit/)
 * (@flashwit)
 * [11 years ago](https://wordpress.org/support/topic/unable-to-create-repository/#post-6101185)
 * Hmm yeah, nothing has changed on the Help tab since defining the path. So this
   most likely means an incorrect path still?
 * I’ll try and figure out where it’s hiding then although it seems like it should
   be right.

Viewing 5 replies - 1 through 5 (of 5 total)