From 13e39fe45c4cbd6e27ac2b77c2ba6464c6f6694d Mon Sep 17 00:00:00 2001 From: vc Date: Tue, 20 Dec 2022 12:52:00 -0800 Subject: [PATCH 1/2] adding a new command that adds a file to your repo --- cheatsheet.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheatsheet.md b/cheatsheet.md index 98fb3eb..5ff1245 100644 --- a/cheatsheet.md +++ b/cheatsheet.md @@ -21,5 +21,8 @@ ##### Moving files while preserving git history git mv +##### To add one file + git add + ##### Creates a branch, and moves you onto it AT THE SAME TIME git checkout -b From fd9fd937e1b7935e40bb2c98a334a17ebc926a5e Mon Sep 17 00:00:00 2001 From: vc Date: Tue, 20 Dec 2022 13:12:02 -0800 Subject: [PATCH 2/2] adding a new commang that allows you to chech a commit --- cheatsheet.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheatsheet.md b/cheatsheet.md index 5ff1245..4f2c3ac 100644 --- a/cheatsheet.md +++ b/cheatsheet.md @@ -26,3 +26,6 @@ ##### Creates a branch, and moves you onto it AT THE SAME TIME git checkout -b + +##### This command is used to check the commit history. + git log