[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ecf-dev] Restructured/cleaned git repo (was Re: ECF non-EPL code moved to github)
- From: Markus Alexander Kuppe <ecf-dev_eclipse.org@xxxxxxxxxxx>
- Date: Fri, 16 Jul 2010 08:39:33 +0200
- Delivered-to: firstname.lastname@example.org
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:188.8.131.52) Gecko/20100528 Lightning/1.0b1 Thunderbird/3.0.5
On 07/16/2010 08:10 AM, Pierre Henry Perret wrote:
> I have used git plugin for Eclipse - EGit -
> I have noticed two ways for sharing a project:
> - Commit
> - Push
> I think commit is the 'classic' way and prefered trying Push, so after
> creating a local repo based on project ,
commit and push are quite different. A commit adds new or changed files
in your working set into your repository and creates a new revision.
push OTOH sends one or more commits from your repo to another one. The
counterpart to push is pull, which receives a change from a (remote)
repo and merges it into yours. Basically the workflow is:
a) change or create a new $file
b) git add $file //stages the file for commit
c) git commit //file has been added to your repo, a new revision has
been created (e.g. commit id 8f3fc3811f9e97bd1080)
d) git pull origin master //get the latest changes from the master
branch of the (remote) origin repo
e) git push origin master //copies the commit into the remote repo
For more details you might want to read Pro Git . It is a free ebook
but consider donating. There is also a short introduction to egit 
and Shawn Pearce/Chris A. have recently done a webcast on egit .
> I try to action Push (popup menu on project->Team) then get the rep
> wizard dialog, enter the ecf-nonepl uri, get the second page and
> there... cant get forward cause of two fields: 'Source ref' and
> 'Destination ref' which wizard block me here.
> Dont know why ...
Please do not use ecf-nonepl anymore, but the corresponding repo to your
work listed on ECF's github page .