problem with cloning the Bahmni standard config

Hello Dear Altruist,

I am always having the following problem while trying to clone the Bhamni standard config,

$ git clone https://github.com/Bahmni/standard-config.git

Cloning into ‘standard-config’… remote: Enumerating objects: 5514, done. remote: Counting objects: 100% (5510/5510), done. remote: Compressing objects: 100% (1956/1956), done. remote: Total 5514 (delta 3539), reused 5127 (delta 3295), pack-reused 4 (from 1) Receiving objects: 100% (5514/5514), 119.14 MiB | 10.75 MiB/s, done. Resolving deltas: 100% (3539/3539), done.

error: invalid path 'masterdata/configuration/concepts/fhir2Extension.csv ’

fatal: unable to checkout working tree

warning: Clone succeeded, but checkout failed.

You can inspect what was checked out with ‘git status’ and retry with ‘git restore --source=HEAD :/’

I directly download it as a zip which does work though.

Would you please check if you are having the same issue? Thanks for your checking.

Thanks,

Sohel

hi @sohel We are not seeing an issue with git clones. Please provide more information about your specifications like OS, hardware

Hello @mohant thanks for your quick checking,

From my Windows 10 machine,

I am using git bash for running the clone command,

my git version is, git version 2.39.2.windows.1

And indeed you are right,

from nixos.24.05

with git version 2.44.1

I could clone without error.

The issue is likely caused by NTFS filesystem limitations. To resolve this, you can configure Git on Windows to ignore NTFS-specific naming restrictions.

Run the following command to disable NTFS protection in Git and try cloning it will solve: $git config --global core.protectNTFS false

2 Likes