github-for-windows

How to sync unsynced commits?

谁说胖子不能爱 提交于 2019-12-21 17:56:51
问题 I committed a change in my file and want to sync it. I am using the Windows Github user interface and I am new to this. The sync button does not show up. How can I do this with a shell command? 回答1: If you look at the screenshot, near the top it says detached head . Although rather unpleasant sounding, this just means that you're not on a branch but rather having a commit checked out. Looking at one of your comments, it says rebasing master . Looks to me like a rebase was started, but never

Setting diffmerge as visual Git difftool not working

孤街浪徒 提交于 2019-12-21 05:43:09
问题 I am trying to configure DiffMerge as my difftool in Git but having no luck. This is the revelent section of my .gitconfig file (the other settings not shown are just for the user). [diff] tool = diffmerge [difftool "diffmerge"] cmd = \"C:\\Program Files\\SourceGear\\Common\\DiffMerge\\sgdm.exe\" \"$LOCAL\" \"$REMOTE\" Whenever I call git difftool from the powershell command line the conflicts are shown directly beneath in the powershell interface, not in diffmerge as intended. I know the

Github for Windows Pull Request for remote Bitbucket Repo

江枫思渺然 提交于 2019-12-21 03:55:19
问题 Based on this tutorial I was able to successfully connect Github for Desktop with my remote Bitbucket repo. Looking at the example tutorial repo I see there is an Pull Request option built in the application - great: However the option is missing when I chose my remote Bitbucket repo: I couldn't find any option that is reponsible for this. Anyone knows what affects this behavior? 回答1: "Pull Request" is very much a GitHub feature, associated to GitHub repos. So For BitBucket, the simplest

PhpStorm and Github for Windows

不想你离开。 提交于 2019-12-20 10:28:40
问题 PhpStorm integration with Git asks me for git.exe path, however "github for windows" seems like it doesn't create any git.exe file. So is it a way to config phpstorm so it use "github for windows" for working with github? 回答1: I set it up using Git Bash, once installed in PhpStorm go to: settings > version control > Git And point to C:\Program Files (x86)\Git\cmd\git.exe Or where ever you installed Git Bash 回答2: To configure Git with PhpStorm on windows 7 use the following path : C:\Program

What is the meaning of revert this commit and roll back this commit in GitHub for Windows?

假装没事ソ 提交于 2019-12-20 09:14:21
问题 Github for Windows features these two commands described as: revert this commit - create a new commit that reverts the changes of this commit rollback this commit - roll back this commit leaving all changes made in this and later commits in your working directory Could you explain the exact meaning of these two commands and how they can be used. Specifically I fail to understand what is the purpose of the second one. It makes no sense to me. Is it possible to revert to a previous commit check

Using Github for Windows to work with own private Git through SSH

帅比萌擦擦* 提交于 2019-12-20 08:39:15
问题 Right now, I'm using msysgit to work with my own private repositories stored on a ec2 Amazon Cloud Server using SSH. Until now, I've been able to successfully connect to those repositories through Git Bash (creating the ssh-rsa public and private key with ssh-keygen, adding the public key to the authorized_servers on the remote machine), so I can clone, push, pull, get through the CLI. Now, I've seen Github for Windows, and I gotta say, it is a beautiful piece of software. Since it is based

Ignore everything except one directory in .gitignore

那年仲夏 提交于 2019-12-19 04:22:24
问题 I have the following directory structure: /app /src /MyProject /FirstProject /Controller /file-1-1.php /file-1-2.php /file-1-3.php /Resources /view-1.html.twig /view-2.html.twig /SecondProject /Controller /file-2-1.php /file-2-2.php /file-2-3.php /Resources /view-3.html.twig /view-4.html.twig /vendor /web I would like to ignore all files in my repository except files in /src/MyProject/SecondProject/Resources . I have tried many ways but without success. GitHub application does not detect a

Integrating RubyMine with GitHub for Windows

。_饼干妹妹 提交于 2019-12-19 02:49:13
问题 I am just learning Ruby and Rails, and am using RubyMine on Windows as my IDE. GitHub has just released GitHub for Windows. I installed it, and it seems like a nice interface. However, it does not seem to have installed anything like a git.exe for RubyMine to pick up and work with. So RubyMine whines that it can't find git, and git (in the form of GitHub for Windows) sits there blithely ignoring RubyMine. Naturally, I've looked for information on the GitHub site - nothing. Am I going to have

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

不想你离开。 提交于 2019-12-18 07:24:26
问题 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? 回答1: 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

How to reach some commands on Github for windows

你离开我真会死。 提交于 2019-12-18 06:07:09
问题 I want to pass github for windows because of easy usage and its user friendly design. But I have to know some codes which i used classical version of Github. For example how to reach these commands? "gitk -all" "git reset --hard HEAD" "git diff" Thanks for your help. 回答1: Mark Cramer adds in the comments (July 2014): With GitHub for Windows 2.0 the drop-down menu has changed slightly. Select the repository you wish to work with (on the left) and then from then " Open in Git Shell " from the