Git - fatal: failed to open, fatal: the remote end hung up unexpectedly after cloneHow to clone all remote branches in Git?Git workflow and rebase vs merge questionsgit push says everything up-to-date even though I have local changesPermission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedlyHow to change the remote a branch is tracking?How do I properly force a Git push?How can I reconcile detached HEAD with master/origin?Synchronizing a local Git repository with a remote onegit push “ The remote end hung up unexpectedly ”Various ways to remove local Git changes
Why does "sattsehen" take accusative "mich", not dative "mir"? Even though it is not "me" that I'm looking at?
SOQL Query (or other means) to get the icon assigned to an object
How did the IEC decide to create kibibytes?
How to say "just a precision" properly in English?
Does the Milky Way orbit around anything?
Wearing special clothes in public while in niddah- isn't this a lack of tznius?
Why do Martians have to wear space helmets?
Bringing coumarin-containing liquor into the USA
Why do people prefer metropolitan areas, considering monsters and villains?
Tiny URL creator
When is one 'Ready' to make Original Contributions to Mathematics?
How to deal with a Murder Hobo Paladin?
Why does mean tend be more stable in different samples than median?
How do I check that users don't write down their passwords?
Why do we need a bootloader separate from our application program in microcontrollers?
Machine Learning Golf: Multiplication
Attach a visible light telescope to the outside of the ISS
Do intermediate subdomains need to exist?
How do resistors generate different heat if we make the current fixed and changed the voltage and resistance? Notice the flow of charge is constant
Is this standard Japanese employment negotiations, or am I missing something?
Gory anime with pink haired girl escaping an asylum
Do I need transit visa for Dublin?
Is there a standard definition of the "stall" phenomena?
As a supervisor, what feedback would you expect from a PhD who quits?
Git - fatal: failed to open, fatal: the remote end hung up unexpectedly after clone
How to clone all remote branches in Git?Git workflow and rebase vs merge questionsgit push says everything up-to-date even though I have local changesPermission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedlyHow to change the remote a branch is tracking?How do I properly force a Git push?How can I reconcile detached HEAD with master/origin?Synchronizing a local Git repository with a remote onegit push “ The remote end hung up unexpectedly ”Various ways to remove local Git changes
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
This is for Windows 10
, and the commands are ran from Git Bash
, I am running Git v2.21.0
.
I am creating a brand new bare
repository and trying to figure out how it all works. I have had success to get connected, push
, pull
, add
, commit
etc. The one thing I keep having issues with is getting this error after trying to clone the same remote location repository under a different name. Even if I delete the local repository named after the remote location, I still can't do it. Here are my steps, for both my local machine and the server.
Server
$ git init rep.git --bare
Initialized empty Git repository in //myLocation/rep.git/
Local PC
$ git clone //myLocation/rep.git
Cloning into 'rep'...
warning: You appear to have cloned an empty repository.
done.
$ cd rep
$ echo 123 > file.txt
$ git add .
warning: LF will be replaced by CRLF in file.txt.
The file will have its original line endings in your working directory
$ git commit -m'adding file'
[master (root-commit) 6ae32fb] adding file
1 file changed, 1 insertion(+)
create mode 100644 file.txt
$ git push
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 216 bytes | 72.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To //myLocation/rep.git
* [new branch] master -> master
So up to here everything is all dandy, next is the problem:
$ git clone //myLocation/rep.git rep2
Cloning into 'rep2'...
fatal: failed to open '//myLocation/rep.git/objects/19/(sha1_stuff)'
: Function not implemented
fatal: the remote end hung up unexpectedly
I have recreated this many times. Anything I am missing here?
git command-line-interface
add a comment |
This is for Windows 10
, and the commands are ran from Git Bash
, I am running Git v2.21.0
.
I am creating a brand new bare
repository and trying to figure out how it all works. I have had success to get connected, push
, pull
, add
, commit
etc. The one thing I keep having issues with is getting this error after trying to clone the same remote location repository under a different name. Even if I delete the local repository named after the remote location, I still can't do it. Here are my steps, for both my local machine and the server.
Server
$ git init rep.git --bare
Initialized empty Git repository in //myLocation/rep.git/
Local PC
$ git clone //myLocation/rep.git
Cloning into 'rep'...
warning: You appear to have cloned an empty repository.
done.
$ cd rep
$ echo 123 > file.txt
$ git add .
warning: LF will be replaced by CRLF in file.txt.
The file will have its original line endings in your working directory
$ git commit -m'adding file'
[master (root-commit) 6ae32fb] adding file
1 file changed, 1 insertion(+)
create mode 100644 file.txt
$ git push
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 216 bytes | 72.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To //myLocation/rep.git
* [new branch] master -> master
So up to here everything is all dandy, next is the problem:
$ git clone //myLocation/rep.git rep2
Cloning into 'rep2'...
fatal: failed to open '//myLocation/rep.git/objects/19/(sha1_stuff)'
: Function not implemented
fatal: the remote end hung up unexpectedly
I have recreated this many times. Anything I am missing here?
git command-line-interface
which version of git did you use? I cannot recreate this error with 2.16 on linux.
– Serge
Mar 25 at 20:23
2.21.0 - this is done on a Windows PC usingGit Bash
– SovietFrontier
Mar 25 at 20:25
tried 2.18 on windows, still not reproducer. I do not have 2.21. but it looks like there is a bug in this version or a problem with installation.
– Serge
Mar 25 at 21:02
@Serge I appreciate you trying it out.
– SovietFrontier
Mar 26 at 14:03
add a comment |
This is for Windows 10
, and the commands are ran from Git Bash
, I am running Git v2.21.0
.
I am creating a brand new bare
repository and trying to figure out how it all works. I have had success to get connected, push
, pull
, add
, commit
etc. The one thing I keep having issues with is getting this error after trying to clone the same remote location repository under a different name. Even if I delete the local repository named after the remote location, I still can't do it. Here are my steps, for both my local machine and the server.
Server
$ git init rep.git --bare
Initialized empty Git repository in //myLocation/rep.git/
Local PC
$ git clone //myLocation/rep.git
Cloning into 'rep'...
warning: You appear to have cloned an empty repository.
done.
$ cd rep
$ echo 123 > file.txt
$ git add .
warning: LF will be replaced by CRLF in file.txt.
The file will have its original line endings in your working directory
$ git commit -m'adding file'
[master (root-commit) 6ae32fb] adding file
1 file changed, 1 insertion(+)
create mode 100644 file.txt
$ git push
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 216 bytes | 72.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To //myLocation/rep.git
* [new branch] master -> master
So up to here everything is all dandy, next is the problem:
$ git clone //myLocation/rep.git rep2
Cloning into 'rep2'...
fatal: failed to open '//myLocation/rep.git/objects/19/(sha1_stuff)'
: Function not implemented
fatal: the remote end hung up unexpectedly
I have recreated this many times. Anything I am missing here?
git command-line-interface
This is for Windows 10
, and the commands are ran from Git Bash
, I am running Git v2.21.0
.
I am creating a brand new bare
repository and trying to figure out how it all works. I have had success to get connected, push
, pull
, add
, commit
etc. The one thing I keep having issues with is getting this error after trying to clone the same remote location repository under a different name. Even if I delete the local repository named after the remote location, I still can't do it. Here are my steps, for both my local machine and the server.
Server
$ git init rep.git --bare
Initialized empty Git repository in //myLocation/rep.git/
Local PC
$ git clone //myLocation/rep.git
Cloning into 'rep'...
warning: You appear to have cloned an empty repository.
done.
$ cd rep
$ echo 123 > file.txt
$ git add .
warning: LF will be replaced by CRLF in file.txt.
The file will have its original line endings in your working directory
$ git commit -m'adding file'
[master (root-commit) 6ae32fb] adding file
1 file changed, 1 insertion(+)
create mode 100644 file.txt
$ git push
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 216 bytes | 72.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To //myLocation/rep.git
* [new branch] master -> master
So up to here everything is all dandy, next is the problem:
$ git clone //myLocation/rep.git rep2
Cloning into 'rep2'...
fatal: failed to open '//myLocation/rep.git/objects/19/(sha1_stuff)'
: Function not implemented
fatal: the remote end hung up unexpectedly
I have recreated this many times. Anything I am missing here?
git command-line-interface
git command-line-interface
edited Mar 25 at 20:26
SovietFrontier
asked Mar 25 at 18:54
SovietFrontierSovietFrontier
7174 silver badges25 bronze badges
7174 silver badges25 bronze badges
which version of git did you use? I cannot recreate this error with 2.16 on linux.
– Serge
Mar 25 at 20:23
2.21.0 - this is done on a Windows PC usingGit Bash
– SovietFrontier
Mar 25 at 20:25
tried 2.18 on windows, still not reproducer. I do not have 2.21. but it looks like there is a bug in this version or a problem with installation.
– Serge
Mar 25 at 21:02
@Serge I appreciate you trying it out.
– SovietFrontier
Mar 26 at 14:03
add a comment |
which version of git did you use? I cannot recreate this error with 2.16 on linux.
– Serge
Mar 25 at 20:23
2.21.0 - this is done on a Windows PC usingGit Bash
– SovietFrontier
Mar 25 at 20:25
tried 2.18 on windows, still not reproducer. I do not have 2.21. but it looks like there is a bug in this version or a problem with installation.
– Serge
Mar 25 at 21:02
@Serge I appreciate you trying it out.
– SovietFrontier
Mar 26 at 14:03
which version of git did you use? I cannot recreate this error with 2.16 on linux.
– Serge
Mar 25 at 20:23
which version of git did you use? I cannot recreate this error with 2.16 on linux.
– Serge
Mar 25 at 20:23
2.21.0 - this is done on a Windows PC using
Git Bash
– SovietFrontier
Mar 25 at 20:25
2.21.0 - this is done on a Windows PC using
Git Bash
– SovietFrontier
Mar 25 at 20:25
tried 2.18 on windows, still not reproducer. I do not have 2.21. but it looks like there is a bug in this version or a problem with installation.
– Serge
Mar 25 at 21:02
tried 2.18 on windows, still not reproducer. I do not have 2.21. but it looks like there is a bug in this version or a problem with installation.
– Serge
Mar 25 at 21:02
@Serge I appreciate you trying it out.
– SovietFrontier
Mar 26 at 14:03
@Serge I appreciate you trying it out.
– SovietFrontier
Mar 26 at 14:03
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344699%2fgit-fatal-failed-to-open-fatal-the-remote-end-hung-up-unexpectedly-after-cl%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344699%2fgit-fatal-failed-to-open-fatal-the-remote-end-hung-up-unexpectedly-after-cl%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
which version of git did you use? I cannot recreate this error with 2.16 on linux.
– Serge
Mar 25 at 20:23
2.21.0 - this is done on a Windows PC using
Git Bash
– SovietFrontier
Mar 25 at 20:25
tried 2.18 on windows, still not reproducer. I do not have 2.21. but it looks like there is a bug in this version or a problem with installation.
– Serge
Mar 25 at 21:02
@Serge I appreciate you trying it out.
– SovietFrontier
Mar 26 at 14:03