ステージングとかそういうの
<@graph>
digraph G {
変更前 -> 自分で変更 -> 変更済み -> "git add <ファイル名>" -> ステージ -> "git commit" -> コミット済み -> "git revert" -> 変更前;
ステージ -> "git reset <ファイル名>" -> 変更済み -> "git checkout -- <ファイル名>" -> 変更前;
変更前[shape = box];
変更済み[shape = box];
ステージ[shape = box];
コミット済み[shape = box];
{rank = same; 自分で変更; "git checkout -- <ファイル名>"}
{rank = same; "git add <ファイル名>";"git reset <ファイル名>";"git revert"}
{rank = same; "git add <ファイル名>";"git reset <ファイル名>"}
}
</>