question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error: git cmd = '/snap/microk8s/4175/usr/bin/git fetch --depth=1 origin master': exit status 128

See original GitHub issue
$ k version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.8-2+1dda18a15eea38", GitCommit:"1dda18a15eea38645814deffa547fe1c30141ef2", GitTreeState:"clean", BuildDate:"2022-11-10T18:01:19Z", GoVersion:"go1.18.8", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.8-2+1dda18a15eea38", GitCommit:"1dda18a15eea38645814deffa547fe1c30141ef2", GitTreeState:"clean", BuildDate:"2022-11-10T17:58:39Z", GoVersion:"go1.18.8", Compiler:"gc", Platform:"linux/amd64"}
$ k apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=master"
error: git cmd = '/snap/microk8s/4175/usr/bin/git fetch --depth=1 origin master': exit status 128

Summary

What Should Happen Instead?

Reproduction Steps

Introspection Report

Can you suggest a fix?

Are you interested in contributing with a fix?

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
khtehcommented, Nov 24, 2022

No

0reactions
neoaggeloscommented, Dec 5, 2022

@khteh Are you sure the release-1.4.6 reference is correct?

$ git clone https://github.com/kubernetes-sigs/aws-efs-csi-driver -b release-1.4.6
Cloning into 'aws-efs-csi-driver'...
fatal: Remote branch release-1.4.6 not found in upstream origin

Perhaps v1.4.6 or release-1.4 is what you are after?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to execute git command: exit status 128 #3294 - GitHub
I recently upgraded to the most recent docker build. Now when I clone and push to a new repository I get this when...
Read more >
tfs - ##[error]Git fetch failed with exit code: 128 - Stack Overflow
I would suggest you first use "git clone" command line to clone remote repo. Kindly check when you run it manually from the...
Read more >
Build fails with "Git fetch failed with exit code: 128" error with ...
During the get sources step of the build it is configured to fetch the git repository from bitbucket (https://bitbucket.org//provident/pm.com is the repo ...
Read more >
git-fetch Documentation - Git
When no remote is specified, by default the origin remote will be used, unless there's an upstream branch configured for the current branch....
Read more >
[JENKINS-63428] fatal: index-pack failed during git fetch
GitException : Command "git fetch --no-tags --force --progress --depth=1 ... +refs/heads/:refs/remotes/origin/" returned status code 128:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found