| Summary: | [server] Need to create a local branch tracking a remote branch | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Client | Assignee: | Szymon Brandys <Szymon.Brandys> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 347126, 347639 | ||
|
Description
Szymon Brandys
(In reply to comment #0) > - Checkout (false/true) indicating that newly created branch should be checked > out immediately which would be an equivalent of "git checkout -b {branch}" or "git checkout --track -b {local} {remote}/{branch}" for remote branches > - SrcRefSpec? to specify for what ref the new branch is created which would be an equivalent of "git branch {branch} {commit}". For now I need "git checkout -t {remote}/{branch}"
I added git branch --track <branchname> [<start-point>]. The client will call it first and then git checkout on <branchname>. I'm opening a separate bug for test updates. Fixed with 7708d714757dc89aa41acd85524757dc25fe2eb6. I'm also changing the summary to better reflect the reality. |