ebeshero / Amadis-in-Translation

a project to apply TEI markup to investigate early modern Spanish editions of Amadis de Gaula and their translations into English and French from the 1500s to the early nineteenth century.
http://amadis.newtfire.org
GNU Affero General Public License v3.0
4 stars 6 forks source link

Working Notes on Working in a Git Branch #52

Closed ebeshero closed 8 years ago

ebeshero commented 8 years ago

It's tricky to keep your branch distinctive while pulling in changes from the master. The process seems different from working in a fork. I have created an "Elisa" branch on the Amadis repository, while my collaborators have created forks in their own spaces. My "Elisa" branch is supposed to function like a fork, in that I can use it as a distinctly separate workspace from the remote origin. However, as changes are pushed to the remote origin, I need to keep the "Elisa" branch updated with those changes, without losing its distinct history.

@rjp43 @djbpitt @sydb @HelenaSabel

RJP43 commented 8 years ago

Two questions: when you do the merge or rebase which branch do you have checked out ? Also has the Elisa branch ever been pushed to the remote (server) repository?

ebeshero commented 8 years ago

@RJP43 I have checked out the Elisa branch before I try a rebase with master. And yes, the Elisa branch exists on the remote repository, and my collaborators could choose to track it and check it out when we are working on experiments with our project schema. (We don't want to store those schema experiments in the main repository because they don't work yet to constrain our project files--so that gives you an idea of what the branch is for!)

ebeshero commented 8 years ago

@HelenaSabel I renamed our experimental ODD files in the "Elisa" branch and I think I've successfully updated everything. (The name changes generated a merge conflict when I attempted to rebase the "Elisa" branch with master, but resolving the merge conflict involved nothing more than using git add . to track the new files.

I appear to have our current Schematron loaded into the "Elisa" branch, and I think I should be able to keep rebasing it now, so I can work in here as we intended.

So all that is to say, all's well with this branch--go and check it out, Helena, and see how it looks to you! @rjp43

HelenaSabel commented 8 years ago

Merged! Everything worked as expected!

ebeshero commented 8 years ago

@HelenaSabel As Robert Southey would have said at this point, "Huzzah!"