Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed authored Sep 9, 2021
1 parent dc8395d commit b019069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ A cheat sheet for uncommon Git commands
| `git branch -d foo` | Deletes a branch |
| `git switch foo` | Switch to a branch |
| `git switch -c\|--create foo` | Create and switch to a branch |
| `git replace foo.js` | Undo all changes on the foo.js file |
| `git checkout foo.js` | Undo all changes on the foo.js file |
| `git checkout foo` | Use `git switch` instead |
| `git checkout -b foo` | Use `git switch -c` instead |
Expand Down

0 comments on commit b019069

Please sign in to comment.