github-for-windows

Unable to pull/push in git repository

≡放荡痞女 提交于 2019-11-27 01:18:43
问题 $ git pull origin master fatal: unable to access 'https://xxxxxxxxxxxxxxx': error setting certificate verify locations: CAfile: C:/Users/abc/AppData/Local/Programs/Git/usr/bin/curl-ca-bundle.crt CApath: none I am getting this error when I pull or push my code. Please guide me to fix this. 回答1: I was also facing this problem in windows and running git using gitbash. I just reinstalled gitbash, And gitbash automatically managed git certificate and its path needed. 回答2: When using https you will

Use GitHub for Windows for both Bitbucket and GitHub

不问归期 提交于 2019-11-26 23:52:35
问题 Is it possible to use GitHub for Windows for both Bitbucket and GitHub at once? For example, can I have repo on both sites show up in the program, and when I commit/synch a repo, it push to the respective repo on the respective website? 回答1: No, if you mean: having a local repo with two remotes (one GitHub and one Bitbucket). You can define only one remote with that client, and it will be either a GitHub one or a Bitbucket one. Yes, if you limit to one remote, you can use GitHub for Windows

GitHub Windows client behind proxy

泄露秘密 提交于 2019-11-26 22:19:14
问题 I'm trying to get the GitHub client for Windows working. I am on a corporate Win 7 x64 computer behind a corporate proxy and firewall. Following various other posts and experimenting with multiple combinations of environment variables and config variables I have found the only way to get cloning and push updates to work is by using the HTTPS_PROXY environment variable, including my full corporate domain user ID and password. This is unacceptable from a security standpoint. Is there any other

What does GitHub for Windows' “sync” do?

笑着哭i 提交于 2019-11-26 15:36:37
问题 With GitHub for Windows, you can "publish" a branch, and then "sync" that branch to GitHub. Is the sync basically a git pull and git push ? Or is there more to it? If I wanted to do the exact same steps as "sync" from the command line, what should I do? (It's not Open Source, or I'd just read that.) 回答1: Sync does git pull --rebase and then if there are local changes, it does git push . From here: http://haacked.com/archive/2012/05/21/introducing-github-for-windows.aspx#87318 回答2: Since the

How to update git version from GitHub Desktop on Windows

旧街凉风 提交于 2019-11-26 14:47:24
问题 I want to use the new worktree functionality introduced in git 2.5. However, I don't know how to update to the most recent version of GitHub Desktop ( not git itself). I install GitHub for desktop and hoped it ships with the most recent version, however git --version returns git version 1.9.5.github.0 . But if I understand correctly, we're already at version 2.6.x! So how can I update to this version on my Windows machine, where the only version of git I installed was with the GH Desktop? 回答1

Installing Git in PATH with GitHub client for Windows

主宰稳场 提交于 2019-11-26 06:29:14
How do I install Git in my PATH when using the GitHub client for Windows? I'm running into errors because apparently Git is not installed in PATH. For example, using Atom, trying to install the Linter plugin gives this error: npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH. Does GitHub for Windows install Git when it installs? (It must, otherwise how does it use Git?) I don't want to double-install it... so how do I just add the Git that's already there to

Where is git.exe located?

冷暖自知 提交于 2019-11-26 02:27:07
问题 I have PyCharm and I am looking around trying to find git.exe to set it up with my repo. What is the PATH to git.exe? 回答1: If you're using GitHub for Windows, git.exe may not be in your PATH, but you may find it in a location like: C:\Users\<username>\AppData\Local\GitHub\PortableGit_<numbersandletters>\bin\git.exe That's the situation for me, in Windows 7 + version 1.0 of GitHub for Windows. In Windows 10 it appears to be in: C:\Users\<username>\AppData\Local\GitHub\PortableGit_

Installing Git in PATH with GitHub client for Windows

半城伤御伤魂 提交于 2019-11-26 01:56:59
问题 How do I install Git in my PATH when using the GitHub client for Windows? I\'m running into errors because apparently Git is not installed in PATH. For example, using Atom, trying to install the Linter plugin gives this error: npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH. Does GitHub for Windows install Git when it installs? (It must, otherwise how does

Configure Git clients, like GitHub for Windows, to not ask for authentication

♀尐吖头ヾ 提交于 2019-11-26 00:55:04
问题 I have installed GitHub for Windows and also GitExtensions and have multiple versions of git.exe in my path. C:\\Users\\Rajat\\AppData\\Local\\GitHub\\PortableGit_93e8418133eb85e81a81e5e19c272776524496c6\\cmd\\git.exe C:\\Users\\Rajat\\AppData\\Local\\GitHub\\PortableGit_93e8418133eb85e81a81e5e19c272776524496c6\\bin\\git.exe E:\\cygwin\\bin\\git.exe C:\\Program Files (x86)\\Git\\cmd\\git.exe C:\\Program Files (x86)\\Git\\bin\\git.exe Now, when I do git push origin master with any of the last

What does a grey icon in remote GitHub mean

亡梦爱人 提交于 2019-11-26 00:33:41
问题 Can anyone please tell me why i have the grey icon when i push my files to github ? In side the app directory, there should be models, views , and controllers but in the remote GitHub I can\'t click in. 回答1: It looks like you created a submodule, pointing to an unreachable remote location. See this answer. That icon, when green, will point to the sub module. I'm assuming it's greyed out in your case because the sub module was incorrectly configured. Given that .gitmodules is not present, it