github-for-windows

Login failed in github for window

流过昼夜 提交于 2019-11-30 04:57:28
I installed Github for window and I can't connect to my git hub account. I tried to reinstall several times, but I always end up with the following error: login failed Unable to retrieve your user info from the server. A proxy server might be interfering with the request. I don't use a proxy and I disabled the windows firewall without success. What am I missing here? Am I suppose to NAT a port on my router? Update the latest .NET Framework 4.5.1 Her is the url : .NET 4.5.1 download link The error message is really misleading. The issue wasn't linked to a proxy configuration. After running the

Pulling down latest code from github to Android Studio

家住魔仙堡 提交于 2019-11-30 01:42:10
问题 How to sync my local Android Studio project with the latest code on github ? I want to download all the latest changes but I don't want my local changes overwritten . If there is a conflict, it should ask me to resolve those particular files. Is there a way to achieve this? 回答1: "I want to download all the latest changes but I don't want my local changes overwritten" You probably want to 'fetch' the upstream before merging your changes then. VCS -> Git -> Fetch, this will update all your

git command could not be found and could not find ssh-agent

让人想犯罪 __ 提交于 2019-11-29 19:41:33
I was on GitHub today and realized I was behind on updates from a repo. I tried to fetch updates, but it failed from the outset. I received two messages when I started up Git Shell (from GitHub for Windows): Warning: git command could not be found. Please create an alias or add it to your PATH. Warning: Could not find ssh-agent. When I attempted to enter "$ git fetch origin", I got the following error message: The term '$' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is

Github Windows 'Failed to sync this branch'

霸气de小男生 提交于 2019-11-29 19:24:35
I am using Github Windows 1.0.38.1 and when I click the 'Sync' button after committing, I get the error How do I debug this problem? If in the shell, what should I do? The sync works fine if i do a git push or git pull , but the next time I want to sync using Github windows, I get the same error. When it says that, just open the shell and do git status . That will give you a decent idea of what could be wrong and the state of your repo. I can't give you a specific error for this as it happens for many reasons in Github for Windows, like say some problem in updating submodules etc. This error

Can the credentials stored in Github for Windows be shared with the whole operating system?

自古美人都是妖i 提交于 2019-11-29 12:37:27
Is it possible to share GHfW's Git configuration with the entire operating system? Ideally I'd like to have GHfW's git.exe on the system PATH and have the credentials stored through GHfW available from any command prompt? By default, GitHub For windows will use %USERPROFILE% as its %HOME% to store: .gitconfig (global config for all repos) .ssh/github_rsa (private key used by GitHub for Windows for authentication)* .ssh/github_rsa.pub (public key used by GitHub for Windows for authentication) If you are working outside of GitHub for Windows, and git local installation will benefit from the same

git pull fails with “Either the application has not called WSAStartup, or WSAStartup failed”

别来无恙 提交于 2019-11-29 09:24:47
I have just installed Windows 10, Visual Studio Community 2015, and Git for Windows . I also installed the latest Bitbucket and GitHub extensions. Within Visual Studio I cloned my Bitbucket.com-hosted repository, and performed these operations successfully: $ git --version git version 2.19.2.windows.1 $ git pull Already up to date. But then when I tried to pull from another repository I got this error: $ git pull git://github.com/aegif/CmisSync.git fatal: unable to lookup github.com (port 9418) (Either the application has not called WSAStartup, or WSAStartup failed. ) I am able to ping github

Login failed in github for window

雨燕双飞 提交于 2019-11-29 03:06:51
问题 I installed Github for window and I can't connect to my git hub account. I tried to reinstall several times, but I always end up with the following error: login failed Unable to retrieve your user info from the server. A proxy server might be interfering with the request. I don't use a proxy and I disabled the windows firewall without success. What am I missing here? Am I suppose to NAT a port on my router? 回答1: Update the latest .NET Framework 4.5.1 Her is the url : .NET 4.5.1 download link

On Windows git: “error: Sparse checkout leaves no entry on the working directory”

此生再无相见时 提交于 2019-11-28 18:42:26
I had the error: “error: Sparse checkout leaves no entry on the working directory” when trying to set up a sparse checkout in git on windows. I've answered my own question after researching the issue and finding the full answer spread out across the web. tl;dr From the folder in which you want the source to live, using a git-bash prompt NOT powershell (although see my edit below): git clone –n <repo> <local-directory-name> cd <local-directory-name> git config core.sparsecheckout true echo some/sub-folder/you/want >> .git/info/sparse-checkout git checkout <branch-name> Full explanation Sparse

Where does GitHub for Windows keep its SSH key?

一个人想着一个人 提交于 2019-11-28 18:07:25
GitHub distributes a simplified git client for Windows they call GitHub for Windows; it authenticates via GitHub account, and although it usually uses SSL authentication for local repositories it creates, if you tell it to use an existing local repository that has an SSH remote on GitHub it will use your GitHub credentials to set up an SSH key on the GitHub account for itself . But where does it keep the SSH key in the filesystem? user2929588 %HOMEDRIVE%%HOMEPATH%\.ssh\id_rsa.pub is where the key is On my work PC it is in %USERPROFILE%/.ssh/ and not %HOMEDRIVE%%HOMEPATH%/.ssh/ . On many

I can't find my git.exe file in my Github folder

早过忘川 提交于 2019-11-28 16:11:48
I downloaded Github for windows and installed it on my computer, which runs windows 7. I tried to open a project with Android Studio but it says "Can't start Git: git.exe" and "IDE error". When I click "Fix it" it shows: "Cannot run program "git.exe": CreateProcess error=2, The system cannot find the file specified". So I googled and I tried to find git.exe file in my Github folder. In my Github folder there is two folders: one is a project shared by my friend and the other one is "Git1". In Git1 foler, there are only two files: ".gitattributes" and ".gitignore" I can't find "git.exe" file