Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

brew tap a branch? #45788

Closed
adilinden opened this issue Nov 7, 2015 · 2 comments
Closed

brew tap a branch? #45788

adilinden opened this issue Nov 7, 2015 · 2 comments
Labels

Comments

@adilinden
Copy link

Hi,

I forked someones tap and like to make my own changes to the formula. In order to be able to keep up-to-date with the original authors work and be able to preserve my changes (particular versions) it would conceivably make sense to place my changes in a branch. But I don't think "brew tap" supports branches unless I am missing something. How could I go about it?

Adi

@bfontaine
Copy link
Contributor

In order to be able to keep up-to-date with the original authors work and be able to preserve my changes (particular versions) it would conceivably make sense to place my changes in a branch.

Why don’t you make your changes on your master branch and rebase your fork on top of upstream’s when there are new commits? That way you’d be able to keep up-to-date and preserve your changes. Or am I missing something?

@adilinden
Copy link
Author

That makes sense. It has been a while since I used Github or did anything more than push, pull, commit using git. Last instructions I had on maintaining Github forks strongly urged to keep my work in a branch and keeping master in sync with the upstream.

If I understand right, the current Github instructions for syncing a fork describes exactly what you are saying. https://help.github.com/articles/syncing-a-fork/

@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants