Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
subesokun committed Jan 25, 2015
1 parent 36101c0 commit ad56efb
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,19 @@ npm install jspm-git --save-dev

```

## Create a new or reconfigure an existing jspm-git endpoint:
## Create a new jspm-git endpoint:

```bash
jspm endpoint create mygit jspm-git
```
Where `mygit` will be the name of your git endpoint.
Where `mygit` will be the name of your new git endpoint.

## Configure an existing endpoint:

```bash
jspm endpoint config mygit
```
Where `mygit` is the name of your existing endpoint which you want to configure.


## Usage
Expand All @@ -35,7 +42,6 @@ Exemplary usage of jspm-git to install a jspm package from a git server located
```bash
# Exemplary endpoint configuration of mygit
# baseurl: ssh://[email protected]/
# reposuffix: .git (default)

jspm install mygit:projname/reponame
```
Expand All @@ -50,8 +56,8 @@ Endpoint configurations for popular Git hosting services
### Bitbucket
```bash
jspm endpoint create bitbucket jspm-git
# baseurl = https://bitbucket.org/
# use default git repository suffix (.git): true
# baseurl: https://bitbucket.org/

jspm install bitbucket:accountname/reponame
```

Expand Down

0 comments on commit ad56efb

Please sign in to comment.