Skip to content

Commit 5dfc90d

Browse files
authored
Merge pull request #67 from Jwhiles/update-cheatsheet
updated the cheatsheet
2 parents 6dfd223 + 91ddd8c commit 5dfc90d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cheatsheet.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
##### Cloning your remote directory
44
git clone <remote directory>
55

6-
##### Checking that status of your local repository
6+
##### Checking that status of your local repository - shows changed but not added files in red
77
git status
88

99
##### Creating a new branch for you to work on
@@ -20,4 +20,8 @@
2020

2121
##### Moving files while preserving git history
2222
git mv <source> <destination>
23-
23+
24+
25+
##### making a new branch whilst moving into it AT THE SAME TIME
26+
git checkout -b <new branch name>
27+

0 commit comments

Comments
 (0)