SalesforceXyTools For Sublime Support Git Command

[SalesforceXytoolsForSublime](https://github.com/exiahuang/SalesforceXyTools) is Rapid development tools for Salesforce Development.

From v2.1.7 Support git command , [Github Wiki](https://github.com/exiahuang/SalesforceXyTools/wiki/SalesforceXyTools-Support-Git)


# SalesforceXyTools Support Git Command


![github setting](http://salesforcexytools.com/mystatic/media/SalesforceXyTools/support-git-command.png)

| Lable | Command | Description |
| ---- | ---- | ---- |
| git:version | git --version |  |
| git:gui | git gui |  |
| git:init | git init |  |
| git:add | git add ${input:git_add_file} |  |
| git:add:all | git add --all |  |
| git:clone | git clone ${input:git_url} |  |
| git:log:pretty | git log ${git_log_format} --date-order |  |
| git:log:pretty:graph | git log ${git_log_format} --date-order --graph |  |
| git:log:pretty:n | git log -${input:git_log_number} ${git_log_format} |  |
| git:log:pretty:graph:n | git log -${input:git_log_number} ${git_log_format} --graph |  |
| git:fetch:all | git fetch --all |  |
| git:pull:all | git pull --all |  |
| git:branch:list | git branch ${select:git_branch} |  |
| git:branch:list_local | git branch |  |
| git:checkout:branch_name | git checkout ${input:git_branch_name} |  |
| git:checkout:new_branch_name | git checkout -b ${input:git_branch_name} |  |
| git:branch:delete | git branch --delete ${input:git_branch_name} |  |
| git:checkout:master | git checkout master |  |
| git:tag | git tag |  |
| git:status | git status -s |  |
| git:log | git log |  |
| git:log:stat | git log --stat |  |
| git:log:search | git log ${git_log_format} --grep "${input:keyword}"  |  |
| git:log:tag | git log ${input:tag} HEAD --pretty=format:%s |  |
| git:log:feature | git log ${input:tag} HEAD --grep feature |  |
| git:log:follow | git log --follow [file] |  |
| git:log:diff | git log -p ${input:file} |  |
| git:log:5 | git log -5 --pretty --oneline |  |
| git:shortlog | git shortlog -sn |  |
| git:blame | git blame ${input:file} |  |
| git:diff | git diff |  |
| git:diff:cached | git diff --cached ${input:file} |  |
| git:diff:head | git diff HEAD |  |
| git:diff:branch:name-only | git diff ${input:branch1}...${input:branch2} --name-only |  |
| git:diff:branch | git diff ${input:branch1}...${input:branch2}  |  |
| git:diff:today | git diff --shortstat "@{0 day ago}" |  |
| git:diff:file | git diff -- "${file}" |  |
| git:show | git show |  |
| git:show:commit | git show ${input:commit_id} |  |
| git:show:commit:name-only | git show --name-only ${input:commit_id} |  |
| git:show:commit:filename | git show ${input:commit}:${input:file} |  |
| git:commit:diff | git diff ${input:commit1} ${input:commit2} --stat  |  |
| git:reflog | git reflog |  |
| git:commit | git commit -m "${input:git_commit_message}" |  |
| git:remote:add:origin | git remote add origin ${input:git_remote_url} |  |
| git:remote:verbose | git remote -v |  |
| git:push:origin_to_master | git push -u origin ${input:git_master} |  |
| git:stash:save | git stash save "${input:git_statsh_message}" |  |
| git:stash:show | git stash show ${input:git_statsh_name} |  |
| git:stash:show:p | git stash show ${input:git_statsh_name} -p |  |
| git:stash:list | git stash list |  |
| git:stash:apply | git stash apply ${input:git_statsh_name} |  |
| git:stash:drop | git stash drop ${input:git_statsh_name} |  |
| git:reset | git reset HEAD . |  |
| git:reset:file | git reset ${input:git_reset_file_or_dir} |  |
| git:config:open | "${execPath}" .git/config |  |
| git:config:set | git config ${select:git_config_key} ${input:git_config_val} |  |
| git:config:set:core.quotepath:false | git config core.quotepath false |  |
| git:config:set:core.autocrlf:false | git config core.autocrlf false |  |
| git:config:set:push.default:simple | git config push.default simple |  |
| git:config:set:credential.helper:wincred | git config credential.helper wincred |  |


# Useage

![github setting](http://salesforcexytools.com/mystatic/media/SalesforceXyTools/XyTools-Support-Git.gif)