Skip to content
Prev 12290 / 21312 Next

[Bioc-devel] Confusion with how to maintain release/devel files on local computer.

I can see two branches master and releas_3_6. I created GMaster to
connect it with GitHub. But as far as it looks like, it?s only a local directory.
Also, I don?t know weather I can remove it or not. Should upsteam appear here?

Best regards,
Arman

From: Martin Morgan<mailto:martin.morgan at roswellpark.org>
Sent: Thursday, November 2, 2017 05:00
To: Arman Shahrisa<mailto:shahrisa.arman at hotmail.com>; Stephanie M. Gogarten<mailto:sdmorris at uw.edu>; bioc-devel<mailto:bioc-devel at r-project.org>
Subject: Re: [Bioc-devel] Confusion with how to maintain release/devel files on local computer.
On 11/01/2017 07:53 PM, Arman Shahrisa wrote:
It helps to be more precise here. Were did you clone the package from?
In the simplest case it would be

   git clone git at git.bioconductor.org:packages/your-package

and you'd have a single remote named 'origin'

   git remote -v

You can add or rename remotes, e.g.,

   git remote rename origin upstream
   git remote add origin git at github.com:your-name/your-package

and you can pull (or fetch and then merge) from each

   git pull upstream  # pull changes from 'upstream' remote
   git pull origin    # pull changes from 'origin'

Study the how-to documents for different scenarios, and be precise as
possible with what you are trying to do. Also, when learning, it can be
comforting to know that removing your local repository from your disk is
not the end of the world, you can just start over with a new clone from
git.bioconductor.org or from github.
You can do whatever you want with your local clone, and with github. The
Bioconductor git repository allows you to push only to 'master' and the
current release, RELEASE_3_6. Suppose you'd made changes to master, and
you named the remotes 'origin' (for github) and 'upstream' (for
bioconductor). Then after after adding (git add ...) and committing (git
commit ...) to the local repository, you'd push to bioconductor with

   git push upstream master

and to github with

   git push origin master

Martin
This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2017-11-02_17-35-42.png
Type: image/png
Size: 10716 bytes
Desc: 2017-11-02_17-35-42.png
URL: <https://stat.ethz.ch/pipermail/bioc-devel/attachments/20171102/4e75211a/attachment.png>