Created
October 26, 2012 14:54
-
-
Save stof/3959249 to your computer and use it in GitHub Desktop.
Testing the PATH for PHP in Gitbash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Calling getenv("Path"): | |
c:\Users\Christophe COEVOET\bin;.;C:\Program Files (x86)\Git\local\bin;C:\Program Files (x86)\Git\mingw\bin;C:\Program Files (x86)\Git\bin;c:\Ruby193\bin;c:\Program Files\Common Files\Microsoft Shared\Windows Live;c:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;c:\Program Files\CollabNet\Subversion Client;c:\Program Files (x86)\PC Connectivity Solution\;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Intel\DMIX;c:\Program Files\Intel\WiFi\bin\;c:\Program Files\Common Files\Intel\WirelessCommon\;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;c:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;c:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;c:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;c:\wamp\bin\php\php5.3.10;c:\Program Files (x86)\Windows Live\Shared;c:\Program Files (x86)\doxygen\bin;c:\Program Files\mongodb\bin;c:\wamp\bin\mysql\mysql5.5.20\bin;c:\wamp\PEAR;c:\Python27;c:\Users\Christophe COEVOET\AppData\Roaming\npm;c:\Program Files (x86)\nodejs\;c:\Users\Christophe COEVOET\bin;c:\Users\Christophe COEVOET\Downloads\ansi153\x64;c:\Program Files\doxygen\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\Heroku\bin;c:\Program Files (x86)\ruby-1.9.2\bin;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\cmd | |
Calling passthru("git"): | |
usage: git [--version] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] | |
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare] | |
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] | |
[-c name=value] [--help] | |
<command> [<args>] | |
The most commonly used git commands are: | |
add Add file contents to the index | |
bisect Find by binary search the change that introduced a bug | |
branch List, create, or delete branches | |
checkout Checkout a branch or paths to the working tree | |
clone Clone a repository into a new directory | |
commit Record changes to the repository | |
diff Show changes between commits, commit and working tree, etc | |
fetch Download objects and refs from another repository | |
grep Print lines matching a pattern | |
init Create an empty git repository or reinitialize an existing one | |
log Show commit logs | |
merge Join two or more development histories together | |
mv Move or rename a file, a directory, or a symlink | |
pull Fetch from and merge with another repository or a local branch | |
push Update remote refs along with associated objects | |
rebase Forward-port local commits to the updated upstream head | |
reset Reset current HEAD to the specified state | |
rm Remove files from the working tree and from the index | |
show Show various types of objects | |
status Show the working tree status | |
tag Create, list, delete or verify a tag object signed with GPG | |
See 'git help <command>' for more information on a specific command. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo 'Calling getenv("Path"):'.PHP_EOL.PHP_EOL; | |
echo getenv('Path').PHP_EOL; | |
echo 'Calling passthru("git"):'.PHP_EOL.PHP_EOL; | |
echo passthru('git').PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
commit