Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
git-cu
git-cu
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Vasili
  • git-cugit-cu
  • Issues
  • #1

Closed
Open
Opened Sep 20, 2020 by Vasili@3point2Maintainer

Better support for workflows that use worktrees

It would be nice to better support use of worktrees. The current layout means worktrees would probably get created side by side with the cloned repository which is a bit awkward.

One thought I've had is to add an optional "worktree layout" mode in which the following layout is created:

hostname/
└── path
    └── reponame
        ├── master  # or whatever the default branch is
        └── repo  # --bare clone

That way additional worktrees could be created within 'reponame'. I'm not sure if this is the best solution so thumbs up/down and/or comments would be welcome.

Edited Sep 20, 2020 by Vasili
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: 3point2/git-cu#1