[
https://issues.apache.org/jira/browse/LUCENE-6985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108953#comment-15108953
]
Mark Miller commented on LUCENE-6985:
-------------------------------------
bq. you need separate repositories (either cloned from remote or copied
locally).
This has been what I was doing - I have a couple checkouts (I have 9 SVN
checkouts), cloned the first and then just copied, hard reset. Not super
satisfying but works fine.
bq. There is also:
http://stackoverflow.com/questions/6270193/multiple-working-directories-with-git
This looks awesome and may be my new approach :) Initial testing seems to work
out well. Might be hit or miss with GUI's though. I had to update to SmartGit
7.1 preview to get worktree support.
> Create some (simple) guides on how to use git to perform common dev tasks
> -------------------------------------------------------------------------
>
> Key: LUCENE-6985
> URL: https://issues.apache.org/jira/browse/LUCENE-6985
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
>
> I'll prepare some simple github repos that demonstrate how to (from command
> line, GUI users can find their buttons I'm sure) perform:
> Simple tasks:
> 1. Checkout branch X, create local branch Y, modify something, create a diff
> for Jira.
> 2. Checkout branch X, create local branch Y, modify something, catch-up with
> changes on X, create a diff for Jira.
> 3. Checkout branch X, create local branch Y, modify something, catch-up with
> changes on X, apply aggregate changes from Y on X (as a single commit).
> 4. Backport feature/ commit C from branch X to Y via cherry picking.
> More advanced:
> 1. Create a feature branch off branch X, develop the feature, then apply it
> as a series of commits to X.
> 2. Create a feature branch off branch X, develop the feature, then apply it
> as a series of commits to X and Y (different branch).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]