Skip to content

Commit

Permalink
Merge pull request #386 from francktb/patch-1
Browse files Browse the repository at this point in the history
Update Git.rb
  • Loading branch information
Kapeli committed Jan 22, 2021
2 parents c451936 + ea397b7 commit 9646d8b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cheatsheets/Git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
git clone ssh://user@domain.tld/repo.git
```"
end

entry do
name 'Clone a unique branch from an existing repository'
notes "
```
git clone -b <branchname> --single-branch ssh://user@domain.tld/repo.git
```"
end

entry do
name 'Clone an existing repository and all its sub-modules recursively'
Expand Down

0 comments on commit 9646d8b

Please sign in to comment.