/
scms-win32.json
18 lines (18 loc) · 1.09 KB
/
scms-win32.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"git": {
"delete": "rmdir \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" /s /q",
"init": "git clone {{{url}}} \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\"",
"get": "cd \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" && git pull --rebase",
"changes": "cd \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" && git status -s && git log --branches --not --remotes --oneline",
"save": "cd \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" && git push origin master",
"undo": "cd \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" && git reset --hard"
},
"svn": {
"delete": "rmdir \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" /s /q",
"init": "svn checkout {{{url}}} \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\"",
"get": "cd \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" && svn up",
"changes": "cd \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" && svn stat",
"save": "cd \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" && svn commit -m \"Commited by Repoman\"",
"undo": "cd \"{{{workspace}}}{{{pathseparator}}}{{{name}}}\" && svn revert -R ."
}
}