Github error "Failed to post this thread" on windows

I am new to git and I just downloaded it yesterday. As a test for my first online (non-local) repo, I made a useless text file and then hit the post. After a short time I received this very ill-conceived error:

enter image description here

So, I know that I cannot post this thread. There is only one and this is the main branch. Does anyone have more information on what might cause this error?

As a side note, my partner has successfully uploaded files to the same repo, but I have not received any indication that this has happened. Does this mean that I am not connected in any way with the repo? I was the one who created it!

+45
git windows github repository
Dec 15 '12 at 17:17
source share
11 answers

On Windows, right click on repository click open a shell here

You will see the command line.

type git push into it. (It was known to see a comment by Simon Boudrias)

The command line prompts you to enter another command or show an error.

If you are prompted to enter something else on the command line, enter it. This will work.
If an error is displayed on the command line, send a detailed error here.

Information : you can check this application

+36
Feb 27 '13 at 7:12
source share

Open a shell in your repository. Then enter

 git push --set-upstream origin master --force 

This will upload your local repo to the server regardless of overwriting if necessary. This should only be done if you are sure that no one is currently publishing your repo .

+10
Mar 21 '14 at 16:19
source share

I had the same problem as mentioned here, but none of the solutions mentioned above helped. Then I found this answer that talks about Proxy settings , and that is why GitHub was not able to commit on my machine. Hope this helps someone else.

To configure proxy settings, you just need to use this command:

git config --global http.proxy HTTP [s]: // username: @ProxyAddress password: port

+3
Apr 01 '14 at 5:47
source share

Another possibility is the temporary unavailability of GitHub servers .

I have the same problem and I confirmed that this is a server problem: https://status.github.com/

Example screenshot:

Github temporarily down

+1
Nov 10 '13 at 18:58
source share

To fix this, open a command prompt in the repo. For example, by clicking the cog button in the upper right corner in the repo view and selecting "open shell here".

  • At the command prompt, type git push --set-upstream origin master

  • Either it works, or it says ! [rejected] master -> master (fetch first) ! [rejected] master -> master (fetch first)

  • If this happens, enter git pull origin master (add -rebase if you want)

On GitHub, the publish button may remain visible instead of the sync button. If so, just restart GitHub.

This means resetting the remote branch to the default for your local branch.

+1
Feb 11 '14 at 12:04 on
source share

Perhaps you just forgot the type of something in the Description area when you commit your files. Someone like me is just typing summery.So make sure you fill out the resume and description when you report.

Just enter something into the textarea description field when committing. Then I successfully posted.

What am I doing? 1 Go to your repository folder in Windows Explorer 2 delete the file you want to publish. and open it. 3 Open GitHub For Windows and click on your repository. Then you will find Uncommitted changes on the left.
4 enter your resume 5 enter your description (the most important step !!!) 6 make a commitment 7 Click "Publish" and you must be successful.

This is my first answer. so I don’t have a reputation of 10 to post the image ... hope you can help.

+1
Feb 15 '14 at 15:39
source share

I had this error since I forgot to add a link to the remote repository on the GitHub desktop. After adding the correct reposition link, everything worked.

+1
Feb 12 '16 at 12:14
source share

Try making changes before posting. This helps me solve the same problem.

0
Feb 10 '14 at 17:27
source share

I also had the same issue when publishing my GitHub page. I solved it as follows.

 $git push 

I got an error message here. Then I made a pull request

 $git pull 

After that, I pressed the button again

 $git push 

Here I got a solution

Note. I use github for windows, and finally posted the page using it

0
Sep 18 '14 at 9:40
source share

I was getting this error because I misconfigured my name and email address. On the page where you do this (at least in the main application), you will see that the page opens with a filled in name and email, but this does not mean that they are saved as settings. To save them, you must click the checkmark in the lower left corner of this screen.

0
Sep 24 '14 at 12:25
source share

I got this error because I already created a repository with the same name in github and then created it locally and tried to commit it. The solution was to remove it from github and then transfer it to the local client. Now they are synchronized.

0
Jan 19 '16 at 0:55
source share



All Articles