[
https://issues.apache.org/jira/browse/LUCENE-6985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108533#comment-15108533
]
Uwe Schindler commented on LUCENE-6985:
---------------------------------------
One reason why a single repo with a single working folder is not working: If
you switch to another branch quickly with "git checkout", it changes all files
under version control (also rolls back their modification time). If you then
don't do "ant clean" globally, you get crazy compile failures or tests not
working. So it is much easier to have separate working folders because they
keep their state like partly compiled source files..
> 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]