PHP Classes

value for $repo_path

Recommend this page to a friend!

      Git class  >  All threads  >  value for $repo_path  >  (Un) Subscribe thread alerts  
Subject:value for $repo_path
Summary:what do you put in $repo_path
Messages:2
Author:Ben Bachrach
Date:2014-01-02 15:19:04
Update:2014-01-06 07:21:42
 

  1. value for $repo_path   Reply   Report abuse  
Picture of Ben Bachrach Ben Bachrach - 2014-01-02 15:19:04
I am running git on a Windows machine using xampp.

When I open git bash it shows.
/c/xampp/htdocs/mcsRepos/site <master>

Your test.php uses

$repo_path = "/home/git/repositories/";

I do not seem to have a folder /git/repositories

What value should I use for:
$repo_path
?



  2. Re: value for $repo_path   Reply   Report abuse  
Picture of Jan Altensen Jan Altensen - 2014-01-06 07:21:42 - In reply to message 1 from Ben Bachrach
i use $repo_path = "/home/git/repositories/";
my repositories stay in /home/git/repositories/
here you must put the path to your repositories