Move card descriptions into resources/cards.json

This commit is contained in:
Sebastian Morr 2020-10-27 11:55:47 +01:00
parent 37adce3bb4
commit f19d2bee8a
4 changed files with 69 additions and 131 deletions
resources

56
resources/cards.json Normal file
View file

@ -0,0 +1,56 @@
[
{
"id": "checkout",
"command": "git checkout",
"arg_number": 1,
"description": "Travel to a commit!"
},
{
"id": "commit-auto",
"command": "git add .; git commit",
"arg_number": 0,
"description": "Make a new commit!"
},
{
"id": "merge",
"command": "git merge",
"arg_number": 1,
"description": "Merge the specified timeline into yours."
},
{
"id": "rebase",
"command": "git rebase",
"arg_number": 1,
"description": "Put the events in your current timeline on top of the specified one."
},
{
"id": "pull",
"command": "git pull",
"arg_number": 0,
"description": "Get timelines from a colleague."
},
{
"id": "push",
"command": "git push",
"arg_number": 0,
"description": "Give timelines to a colleague."
},
{
"id": "rebase-interactive",
"command": "git rebase -i",
"arg_number": 1,
"description": "Make changes to the events in your current timeline, back to the commit you drag this to."
},
{
"id": "reset-hard",
"command": "git reset --hard",
"arg_number": 1,
"description": "Reset current label to the specified commit."
},
{
"id": "cherry-pick",
"command": "git cherry-pick",
"arg_number": 1,
"description": "Repeat the specified action on top of your current timeline."
}
]