Git Dependencies, how to force paket to clone on master branch ?
Open
Nobody has claimed this yet.
git
question
- Dominant language
- F#
- Stars
- 2.1k
- Forks
- 528
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 54
Description
Hi,
As soon as I try to clone a git repository through my paket dependencies:
git http://minerva.toto.local:7990/scm/srcnettkt/api.git master
the local git repo is flaged "no branch"
git branch -vv
* (HEAD detached at paket/lock) 6e2bc8d Initial Commit
master 6e2bc8d [origin/master] Initial Commit
How to force paket to clone the master branch ?
Thanks
Gilles
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Paket's handling of the shown Git dependency declaration and reproduce the detached-HEAD state described in the issue. Determine whether cloning on master is supported or whether the current behavior is intentional; done means a verified answer or a focused change with a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp, git
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100