mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-24 16:20:08 +01:00
80 lines
2.1 KiB
JSON
80 lines
2.1 KiB
JSON
[
|
|
{
|
|
"id": "init",
|
|
"command": "git init",
|
|
"arg_number": 0,
|
|
"description": "Initialize the time machine!"
|
|
},
|
|
{
|
|
"id": "checkout",
|
|
"command": "git checkout",
|
|
"arg_number": 1,
|
|
"description": "Drag this card to a commit or to a branch to travel to it!"
|
|
},
|
|
{
|
|
"id": "commit-auto",
|
|
"command": "git add .; git commit",
|
|
"arg_number": 0,
|
|
"description": "Make a new commit containing your current environment!\nDrag this card anywhere. You'll be asked to enter a short description of what you changed."
|
|
},
|
|
{
|
|
"id": "merge",
|
|
"command": "git merge",
|
|
"arg_number": 1,
|
|
"description": "Merge the specified timeline into yours. If necessary, will create a merge commit."
|
|
},
|
|
{
|
|
"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": "Move the branch you're on 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."
|
|
},
|
|
{
|
|
"id": "bisect-start",
|
|
"command": "git bisect start",
|
|
"arg_number": 0,
|
|
"description": "Start looking for the commit where things got bad."
|
|
},
|
|
{
|
|
"id": "bisect-good",
|
|
"command": "git bisect good",
|
|
"arg_number": 0,
|
|
"description": "State that the current commit is good! When you're automatically transferred, keep playing the `good` and `bad` cards!"
|
|
},
|
|
{
|
|
"id": "bisect-bad",
|
|
"command": "git bisect bad",
|
|
"arg_number": 0,
|
|
"description": "State that the current commit is bad! When you're automatically transferred, keep playing the `good` and `bad` cards!"
|
|
}
|
|
]
|