What am I forgetting?

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Aug 13 19:34:59 UTC 2019


Hi

First, please keep your replies on list.

You will need a fork if you ever wish to create a feature branch to use to submit a PR to update a port.

Cheers Chris

> On 13 Aug 2019, at 7:55 pm, Gerben Wierda <gerben.wierda at rna.nl> wrote:
> 
> Albus:macports-ports sysbh$ git remote -v
> origin	https://github.com/macports/macports-ports.git (fetch)
> origin	https://github.com/macports/macports-ports.git (push)
> 
> I don't have a fork.
> 
> Should I work in a fork or is it OK to work like this?
> 
> G
> 
>>> On 13 Aug 2019, at 16:24, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
>>> 
>>> 
>>> sudo port -d sync
>>> ( -d just means debug mode, which means you see what is actually run )
>>> this then will in effect run
>>> git pull --rebase --autostash origin master
>> 
>> One detail just came to my mind.
>> 
>> In your clone, make sure the 'origin' remote is the main macports one, and not some other clone. This helps make things run a bit smoother. You can then have as many other remotes as you want, for various forks. e.g. I (currently) have
>> 
>> Titan ~/Projects/MacPorts/ports > git remote -v
>> cjones	git at github.com:cjones051073/macports-ports.git (fetch)
>> cjones	git at github.com:cjones051073/macports-ports.git (push)
>> giansalvo	git at github.com:giansalvo/macports-ports.git (fetch)
>> giansalvo	git at github.com:giansalvo/macports-ports.git (push)
>> herbygillot	git at github.com:herbygillot/macports-ports.git (fetch)
>> herbygillot	git at github.com:herbygillot/macports-ports.git (push)
>> michaelld	git at github.com:michaelld/macports-ports.git (fetch)
>> michaelld	git at github.com:michaelld/macports-ports.git (push)
>> origin	git at github.com:macports/macports-ports.git (fetch)
>> origin	git at github.com:macports/macports-ports.git (push)
>> yan	git at github.com:yan12125/macports-ports.git (fetch)
>> yan	git at github.com:yan12125/macports-ports.git (push)
>> 
>> so 'origin' is the primary source, and the others are either my own fork, or others I have added to work with feature branches now and then.
>> 
>> Chris
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190813/967ac607/attachment.html>


More information about the macports-users mailing list