-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation, adapt it to the new repository URL
- Loading branch information
1 parent
c9aa858
commit 3ba35eb
Showing
1 changed file
with
13 additions
and
3 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 |
---|---|---|
|
@@ -7,15 +7,21 @@ This is only a prototype and is not yet ready for production, but you are invite | |
- Git v1.9.1 or later | ||
- An [SSH Key](https://help.github.com/articles/generating-an-ssh-key/) | ||
|
||
### Install pharo-git | ||
### Install Iceberg | ||
``` | ||
Metacello new | ||
baseline: 'Iceberg'; | ||
repository: 'github://npasserini/pharo-git'; | ||
repository: 'github://npasserini/iceberg'; | ||
onConflict: [:ex | ex allow]; | ||
load. | ||
``` | ||
|
||
### Update Iceberg (since v0.0.3) | ||
``` | ||
Iceberg update | ||
``` | ||
|
||
|
||
## Usage | ||
### Creating and retreiving repositories. | ||
A repository is created out of an SCP URL (with the form `[user@]host:filename`, frequently `[email protected]:username/projectname.git`). | ||
|
@@ -31,7 +37,7 @@ When the repository gets first used, it will create a local clone in your disk. | |
If you prefere to do clones at specific locations, you can provide a directory: | ||
``` | ||
myRepo := IceRepository new | ||
origin: '[email protected]:npasserini/pharo-git.git'; | ||
origin: '[email protected]:npasserini/iceberg.git'; | ||
localDirectory: ... absolute or relative path | ||
``` | ||
|
||
|
@@ -58,6 +64,10 @@ If you want to create a new branch it is slight different: | |
myRepo loadPackage: 'Package-Name' | ||
``` | ||
|
||
### Update packages | ||
- `myRepo pull` will update all the packages in the repo (that have already been loaded). | ||
- To update an individual package you can write: `myRepo updatePackage: 'Some-Package-Name'` | ||
|
||
### Commit your changes | ||
After making some changes, you can use the IceSynchronizer to commit them: | ||
``` | ||
|