Skip to content

Commit d4e7231

Browse files
committed
adding new command in the cheatsheet
1 parent d338227 commit d4e7231

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cheatsheet.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@
2020

2121
##### Moving files while preserving git history
2222
git mv <source> <destination>
23-
23+
24+
##### Creates a branch, and moves you onto it at the same time
25+
git checkout -b <new branch name>

0 commit comments

Comments
 (0)