Menu

Showing posts with label Git error. Show all posts
Showing posts with label Git error. Show all posts

git error fatal: cannot create directory because filename too long

A too long file name is an issue while cloing any git repo. We can set a git property longpaths=true to allow the too long file name for git. Following the command and their scope.

  1. For all users

    git config --system core.longpaths true
  2. For current user

    git config --global core.longpaths true
  3. Only for current clone

    git clone -c core.longpaths=true

fatal: unable to access 'https://jorvee.bitbucket.com/branch/src/': SSL certificate problem: unable to get local issuer certificate

Error: 

fatal: unable to access 'https://jorvee.bitbucket.com/branch/src/': SSL certificate problem: unable to get local issuer certificate

Resolution: 

There is a workaround to disable the ssl and bypass the check. Use the below command to overcome from this error. 

For only current repository

git config http.sslVerify false

For disable the ssl at global level 

git config --global http.sslVerify false


Now you can run your git commands without any trouble. Thank you!