Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
expand examples with more info
Browse files Browse the repository at this point in the history
  • Loading branch information
vito committed Oct 6, 2015
1 parent c8c408d commit d332e7b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ Tracks the commits in a [git](http://git-scm.com/) repository.
### Example
Resource configuration for a private repo:
``` yaml
resources:
- name: source-code
type: git
source:
Expand All @@ -42,12 +45,19 @@ Tracks the commits in a [git](http://git-scm.com/) repository.
-----END RSA PRIVATE KEY-----
```

Fetching a repo with only 100 commits of history:

``` yaml
- get: source-code
params: {depth: 100}
```
Pushing local commits to the repo:
``` yaml
- get: some-other-repo
- put: source-code
params: {repository: some-other-repo}
```
Expand Down

0 comments on commit d332e7b

Please sign in to comment.