Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpchen committed Mar 14, 2024
1 parent 8a78be2 commit efc8cd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/document/Git/docs/Git Cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
|---|---|
|create new branch|`git branch <branch>`|
|list all branches|`git branch`|
|list all remote branches|`git branch -r\|--remotes`|
|switch to branch|`git checkout\|switch <branch>`|
|create and switch to new branch|`git checkout -b <branch>` or `git switch -C <branch>`|
|rename branch|`git branch -m <old_branch> <new_branch>`|
Expand Down

0 comments on commit efc8cd6

Please sign in to comment.