Compare commits

..

1 Commits

Author SHA1 Message Date
Felipe Cardoso
7922c2e6d1 Add command to clone a repository with branch checkout
This update includes an example of how to clone a specific branch using `git clone`. It enhances the cheat sheet by providing more practical git use cases.
2025-02-17 09:17:10 +01:00

View File

@@ -3,6 +3,8 @@
```bash
# Clone a repository
git clone <repository-url>
# Clone a repository with branch checkout
git clone -b branch_name <repository-url>
# Add a remote
git remote add <name> <url>