mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-05 05:02:02 +02:00
shit-happens chapter :P
This commit is contained in:
parent
9109394271
commit
12ea306302
7 changed files with 169 additions and 0 deletions
resources
|
@ -9,6 +9,11 @@
|
|||
"command": "git checkout [commit, ref, file]",
|
||||
"description": "Drag this card to a commit or to a branch to travel to it!\n\nAlternatively, reset changes in a local file."
|
||||
},
|
||||
{
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"id": "commit-a",
|
||||
"command": "git commit -a",
|
||||
|
@ -64,6 +69,11 @@
|
|||
"command": "git cherry-pick [commit]",
|
||||
"description": "Repeat the specified action on top of your current timeline."
|
||||
},
|
||||
{
|
||||
"id": "revert",
|
||||
"command": "git revert [commit]",
|
||||
"description": "Make a new commit that reverts the changes of the speicified commit."
|
||||
},
|
||||
{
|
||||
"id": "bisect-start",
|
||||
"command": "git bisect start",
|
||||
|
@ -114,6 +124,11 @@
|
|||
"command": "git branch -D [ref]",
|
||||
"description": "Delete a branch."
|
||||
},
|
||||
{
|
||||
"id": "reflog",
|
||||
"command": "git reflog [ref, head]",
|
||||
"description": "Display a log of there the ref pointed to in the past."
|
||||
},
|
||||
{
|
||||
"id": "file-new",
|
||||
"command": "touch [string]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue