2020-10-27 11:55:47 +01:00
[
2020-10-29 15:55:10 +01:00
{
"id" : "init" ,
"command" : "git init" ,
2021-01-11 19:16:35 +01:00
"description" : "Drag this card into the empty space above to initialize the time machine!"
2020-10-29 15:55:10 +01:00
} ,
2021-01-07 17:35:08 +01:00
{
"id" : "clone" ,
"command" : "git clone ../[remote] ." ,
"description" : "Create your own copy of your friend's repo."
} ,
{
"id" : "config-name" ,
"command" : "git config --global user.name [string]" ,
2021-01-11 19:16:35 +01:00
"description" : "Set your name.\n\n(Will not change anything outside of this game.)"
2021-01-07 17:35:08 +01:00
} ,
{
"id" : "config-email" ,
"command" : "git config --global user.email [string]" ,
"description" : "Set your email address."
} ,
2020-10-27 11:55:47 +01:00
{
"id" : "checkout" ,
2021-01-07 12:57:31 +01:00
"command" : "git checkout [commit, ref]" ,
"description" : "Drag this card to a commit or to a branch to travel to it!"
} ,
{
"id" : "checkout-file" ,
"command" : "git checkout [file]" ,
"description" : "Reset changes in a local file."
2021-01-05 12:46:07 +01:00
} ,
2021-01-05 16:58:42 +01:00
{
"id" : "checkout-from" ,
"command" : "git checkout [commit, ref] [file]" ,
"description" : "Get the file contents from the specified commits, and reset both the working directory, as well as the index, to it."
} ,
2021-01-05 12:46:07 +01:00
{
"id" : "commit-a" ,
"command" : "git commit -a" ,
"description" : "Make a new commit, after automatically adding all changes to the index.\nYou'll be asked to enter a short description of what you changed."
2020-10-27 11:55:47 +01:00
} ,
{
"id" : "commit-auto" ,
2021-01-07 12:57:31 +01:00
"command" : "git add .; git commit -m \"New commit\"" ,
"description" : "Make a new commit containing your current environment!"
2020-10-27 11:55:47 +01:00
} ,
{
"id" : "merge" ,
2021-01-13 16:26:48 +01:00
"command" : "git merge [commit, ref]" ,
2020-10-29 20:02:43 +01:00
"description" : "Merge the specified timeline into yours. If necessary, will create a merge commit."
2020-10-27 11:55:47 +01:00
} ,
2021-01-13 16:26:48 +01:00
{
"id" : "merge-abort" ,
"command" : "git merge --abort" ,
"description" : "Abort the current merge attempt, and reconstruct the previous state."
} ,
2020-10-27 11:55:47 +01:00
{
"id" : "rebase" ,
2020-11-03 12:39:40 +01:00
"command" : "git rebase [commit]" ,
2020-10-27 11:55:47 +01:00
"description" : "Put the events in your current timeline on top of the specified one."
} ,
{
"id" : "pull" ,
"command" : "git pull" ,
2021-01-11 19:16:35 +01:00
"description" : "Get timelines from a friend."
2020-10-27 11:55:47 +01:00
} ,
{
"id" : "push" ,
"command" : "git push" ,
2021-01-11 19:16:35 +01:00
"description" : "Give timelines to a friend."
2020-10-27 11:55:47 +01:00
} ,
{
"id" : "rebase-interactive" ,
2020-11-03 12:39:40 +01:00
"command" : "git rebase -i [commit]" ,
2020-10-27 11:55:47 +01:00
"description" : "Make changes to the events in your current timeline, back to the commit you drag this to."
} ,
2020-11-09 20:45:39 +01:00
{
"id" : "rebase-continue" ,
"command" : "git rebase --continue" ,
"description" : "Continue the current rebasing process."
} ,
2020-10-27 11:55:47 +01:00
{
"id" : "reset-hard" ,
2020-11-03 12:39:40 +01:00
"command" : "git reset --hard [commit]" ,
2020-10-29 15:55:10 +01:00
"description" : "Move the branch you're on to the specified commit."
2020-10-27 11:55:47 +01:00
} ,
2020-11-09 20:45:39 +01:00
{
"id" : "reset" ,
2021-01-05 12:46:07 +01:00
"command" : "git reset [commit, file]" ,
"description" : "Jump to the commit, and update the index. Keep the current environment.\n\nAlternatively, reset changes in a file in the index."
2020-11-09 20:45:39 +01:00
} ,
2020-10-27 11:55:47 +01:00
{
"id" : "cherry-pick" ,
2020-11-03 12:39:40 +01:00
"command" : "git cherry-pick [commit]" ,
2020-10-27 11:55:47 +01:00
"description" : "Repeat the specified action on top of your current timeline."
2020-10-30 12:08:17 +01:00
} ,
2021-01-05 16:58:42 +01:00
{
"id" : "revert" ,
"command" : "git revert [commit]" ,
"description" : "Make a new commit that reverts the changes of the speicified commit."
} ,
2020-10-30 12:08:17 +01:00
{
"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!"
2020-11-07 13:59:47 +01:00
} ,
{
"id" : "add" ,
"command" : "git add [file]" ,
2020-11-09 20:45:39 +01:00
"description" : "Put the current status of the file into the plan."
} ,
2021-01-05 12:46:07 +01:00
{
"id" : "rm" ,
"command" : "git rm [file]" ,
"description" : "Delete a file both in the working directory, as well as the index."
} ,
{
"id" : "mv" ,
"command" : "git mv [file] [string]" ,
"description" : "DOESN'T WORK YET\n\nRename a file both in the working directory, as well as the index."
} ,
2020-11-09 20:45:39 +01:00
{
"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."
2020-11-10 22:20:40 +01:00
} ,
{
"id" : "branch" ,
"command" : "git branch [string]" ,
2021-01-13 16:26:48 +01:00
"description" : "Create a new branch at your current location."
2020-11-10 22:20:40 +01:00
} ,
2020-11-13 12:27:15 +01:00
{
"id" : "branch-delete" ,
"command" : "git branch -D [ref]" ,
"description" : "Delete a branch."
} ,
2021-01-05 16:58:42 +01:00
{
"id" : "reflog" ,
"command" : "git reflog [ref, head]" ,
"description" : "Display a log of there the ref pointed to in the past."
} ,
2020-11-10 22:20:40 +01:00
{
"id" : "file-new" ,
"command" : "touch [string]" ,
"description" : "Create a new file."
2020-11-13 11:21:36 +01:00
} ,
{
"id" : "file-delete" ,
"command" : "rm [file]" ,
2021-01-11 19:16:35 +01:00
"description" : "Delete a file."
2020-11-13 11:36:05 +01:00
} ,
{
"id" : "file-rename" ,
"command" : "mv [file] [string]" ,
2021-01-11 19:16:35 +01:00
"description" : "Rename a file."
2021-01-07 12:57:31 +01:00
} ,
{
"id" : "file-copy" ,
"command" : "cp [file] [string]" ,
"description" : "Make a copy of a file."
2020-10-27 11:55:47 +01:00
}
]