You dont need anything installed to work with git , apart from git itself.
The workflow is the same as with smalltalkhub + the standard workflow of
git.

I am using filteree which is already included with Pharo. These are the
steps from absolute scratch

1) Download git and install it

2) Create an account in Github

3) add a repository in github

4) open the terminal (git in windows comes with its own terminal, macos and
linux have own terminals) you can also optionally create a folder for
putting all your git projects inside

5) config git using the git config command to add your email

6) copy the adress of your github repo , its on the right side of your
central page of your github repo it has a button next to it to copy it

7) paste the adress after the git clone command and hit enter to clone the
repo to your local drive

8) Go to pharo , open monticello and add for you new package a repo ,
choose gitfilete

9) filetree with open a file browser dialog, navigate to the folder you
clone your gihub repo and press open

10) click save as usual to save code , add a commit message, I also copy
the commit message to add it also in the git commit

11) go back to the terminal and cd to your git folder of your project

12) I use git status to see which files the filetree has created , Packages
have their own folders and so does each class, with also a folder for
instance and class side. Each methods has its own file, additional files
exist for metadata.

13) git add the package folders. A simple git add of a folder will add all
subfolders and files included in the folder.

14) git commit -am "paste here the copied message from monticello, or add
your own commit message"

15) git push

If you exclude step (8) and (9) the rest is normal git workflow

Thats for setting up from there on for committing you will repeat only
steps (10) - (15).

There is also gitfiletree that automates this manual process but I like
being in control to what is commited to my git repo. Gitfiletree has a
chapter in Pharo For the Enterprise book.

Github has extensive documentation for git and github. Git website also has
documentation that is easy to follow and expose how powerful git really is.

Its actually very simple and easy to do.

On Thu, Nov 27, 2014 at 12:32 PM, jannik laval <[email protected]>
wrote:

> Hi Kilon,
>
> Do you have any documentation on how to use github in Pharo ?
> What should I install, how to use it ?
>
> Thank you.
> Jannik
>
> 2014-11-27 11:29 GMT+01:00 kilon alios <[email protected]>:
>
>> My personal opinion on Github and Pharo is that it already works great
>> with Pharo. The workflow with filetree is exactly the same as other
>> languages that gives the added advantage that you can use all the powerful
>> tools you use with other languages for commiting to git and github. I have
>> not experienced any kind of issue of problem using github with Pharo nor my
>> experience has been any worse than other languages.
>>
>> With the use of Baseline you dont even need git installed in your system
>> to install any Pharo project that use git  which is a feature I have not
>> seen in other languages.
>>
>> It should be also relative simple to extend ConfigurationBrowser to
>> support github projects via baseline with no need to commit configurations
>> to smalltalkhub.
>>
>> Pharo is already very active in github, many people have ported their
>> projects there including me.
>>
>> Maybe StHub should support also being a portal to github , or uses github
>> as its backend though I have no clue how much work that would involve.
>> Personally I have completely abandoned smaltlalkhub for github because my
>> experience was really bad and I was already very familiar with github.
>>
>> On Thu, Nov 27, 2014 at 12:14 PM, Noury Bouraqadi <[email protected]>
>> wrote:
>>
>>> SmalltalkHub is slow, so don’t click too fast :-(
>>>
>>> While I’m grateful to developers of SmalltalkHub and previously
>>> SqueakSource, I believe as a small community, we cannot afford developing
>>> everything by ourselves. We don’t have enough man-power. We can see the
>>> symptoms since SmalltalkHub is in beta stage since way too long...
>>>
>>> It’s better to use some mainstream platform such as github.
>>> We’ll we have support for it in Pharo 4?
>>>
>>> It would be interesting also from the communication point of view to
>>> make the world a little bit more aware of Pharo.
>>>
>>> Noury
>>>
>>
>>
>
>
> --
>
> ~~Jannik Laval~~
> École des Mines de Douai
> Enseignant-chercheur
> http://www.jannik-laval.eu
> http://www.phratch.com
> http://www.approchealpes.info
> http://car.mines-douai.fr/
>

Reply via email to