mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-22 16:20:19 +01:00
122 lines
3.1 KiB
JSON
122 lines
3.1 KiB
JSON
[
|
|
{
|
|
"id": "edit",
|
|
"command": "fake-editor [file]",
|
|
"description": "Edit a file."
|
|
},
|
|
{
|
|
"id": "init",
|
|
"command": "git init",
|
|
"description": "Initialize the time machine!"
|
|
},
|
|
{
|
|
"id": "checkout",
|
|
"command": "git checkout [commit, ref]",
|
|
"description": "Drag this card to a commit or to a branch to travel to it!"
|
|
},
|
|
{
|
|
"id": "commit-auto",
|
|
"command": "git add .; git commit",
|
|
"description": "Make a new commit containing your current environment!\nYou'll be asked to enter a short description of what you changed."
|
|
},
|
|
{
|
|
"id": "merge",
|
|
"command": "git merge [commit]",
|
|
"description": "Merge the specified timeline into yours. If necessary, will create a merge commit."
|
|
},
|
|
{
|
|
"id": "rebase",
|
|
"command": "git rebase [commit]",
|
|
"description": "Put the events in your current timeline on top of the specified one."
|
|
},
|
|
{
|
|
"id": "pull",
|
|
"command": "git pull",
|
|
"description": "Get timelines from a colleague."
|
|
},
|
|
{
|
|
"id": "push",
|
|
"command": "git push",
|
|
"description": "Give timelines to a colleague."
|
|
},
|
|
{
|
|
"id": "rebase-interactive",
|
|
"command": "git rebase -i [commit]",
|
|
"description": "Make changes to the events in your current timeline, back to the commit you drag this to."
|
|
},
|
|
{
|
|
"id": "rebase-continue",
|
|
"command": "git rebase --continue",
|
|
"description": "Continue the current rebasing process."
|
|
},
|
|
{
|
|
"id": "reset-hard",
|
|
"command": "git reset --hard [commit]",
|
|
"description": "Move the branch you're on to the specified commit."
|
|
},
|
|
{
|
|
"id": "reset",
|
|
"command": "git reset [commit]",
|
|
"description": "Jump to the commit, and update the index. Keep the current environment."
|
|
},
|
|
{
|
|
"id": "cherry-pick",
|
|
"command": "git cherry-pick [commit]",
|
|
"description": "Repeat the specified action on top of your current timeline."
|
|
},
|
|
{
|
|
"id": "bisect-start",
|
|
"command": "git bisect start",
|
|
"description": "Start looking for the commit where things got bad."
|
|
},
|
|
{
|
|
"id": "bisect-good",
|
|
"command": "git bisect good",
|
|
"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",
|
|
"description": "State that the current commit is bad! When you're automatically transferred, keep playing the `good` and `bad` cards!"
|
|
},
|
|
{
|
|
"id": "add",
|
|
"command": "git add [file]",
|
|
"description": "Put the current status of the file into the plan."
|
|
},
|
|
{
|
|
"id": "commit",
|
|
"command": "git commit",
|
|
"description": "Make a commit from the plan."
|
|
},
|
|
{
|
|
"id": "show",
|
|
"command": "git show [commit]",
|
|
"description": "Show what changed in the commit."
|
|
},
|
|
{
|
|
"id": "branch",
|
|
"command": "git branch [string]",
|
|
"description": "Create a new branch."
|
|
},
|
|
{
|
|
"id": "branch-delete",
|
|
"command": "git branch -D [ref]",
|
|
"description": "Delete a branch."
|
|
},
|
|
{
|
|
"id": "file-new",
|
|
"command": "touch [string]",
|
|
"description": "Create a new file."
|
|
},
|
|
{
|
|
"id": "file-delete",
|
|
"command": "rm [file]",
|
|
"description": "Delete a new file."
|
|
},
|
|
{
|
|
"id": "file-rename",
|
|
"command": "mv [file] [string]",
|
|
"description": "Rename a new file."
|
|
}
|
|
]
|