You appear to be a bot. Output may be restricted
Description
Return some Git command aliaseshttp://stackoverflow.com/questions/8533202/list-files-in-local-git-repo suggests using git ls-files
or the more detailed git ls-tree --full-tree -r HEAD
http://stackoverflow.com/questions/957928/is-there-a-way-to-get-the-git-root-directory-in-one-command
Usage
Git::commands();
Parameters
Returns
voidSource
File name: oik-batch/includes/class-git.phpLines:
1 to 12 of 12
public function commands() { $this->commands = array( "status" => "status -s" , "changed" => "diff --name-only" , "list" => "ls-files" , "current" => "log --oneline -1" , "gitdir" => "rev-parse --show-toplevel" , "cdup" => "rev-parse --show-cdup" , "remote" => "remote -v" , "pull" => "pull" , "fetch" => "fetch" ); }View on GitHub