Failed to sync branch your might need to open a shell and debug the state of this repo.

Source: Internet
Author: User

failed to sync branch your might need to open a shell and debug the state of this repo.

I made some changes to a file a month ago. I just realized today that they didn ' t go anywhere; The GitHub Web-site has a history of my changes.

The client has a no indication that anything was out of date (there is no "uncommitted changes"). But there is "unsynced commits":

How does i sync unsynced commits?

I tried nothing, and I ' M fresh out of ideas

i tried clicking The sync  button (whatever that means), but all I get (after a progress bar move s for on 7 seconds) is:

Failed to sync branch
You might need to open a shell and debug the state of this repo.

clicking open SHELL , causes a PowerShell Prompt to appear, where I type:

debug the state of this repo

But this doesn ' t seem to do it:

How does I sync unsynced commits in the GitHub for Windows client?


Workaround:

Fatal:not a git repository (or any of the parent directories):. git

Hint that there is no. git such a directory, the solution is as follows:

Git init is ready!





Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Failed to sync branch your might need to open a shell and debug the state of this repo.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.