-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
``` | ||
|
@@ -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 | ||
``` | ||
|
||
|