github-for-windows

Connecting Visual Studio 2012 to Github.com

爱⌒轻易说出口 提交于 2020-01-03 08:23:08
问题 I have added the MS github extension to my project. Now how do I connect it to my Github account? 回答1: http://blogs.msdn.com/b/visualstudioalm/archive/2013/01/30/getting-started-with-git-in-visual-studio-and-team-foundation-service.aspx The above link put me on the right track to integrating Team Foundation Service with Visual Studio 2012. I misunderstood Git vs Github and will continue to use Github as my ALM for the moment. The integration of git version control integrated within VS will be

Git hook update package json version

喜欢而已 提交于 2019-12-31 09:45:14
问题 In our project we often forget to update version numbers in Package.json file. Ours is a AngularJS project. In our package JSON file we are specifying the below two version information "version": "1.0.7", "devVersion": "1.0.4" Before Merging a branch to develop I want a automated script to update these above two version numbers. I am thinking Git Hooks will help me. Where can i find the hooks, I am able to see the hooks in my local repo under .git folder. I am confused which hook to use.

Why did the GitHub windows client delete all of my work?

最后都变了- 提交于 2019-12-25 14:00:10
问题 Yesterday, I decided I wanted to upload all of my old crappy work. It is back when I was just starting programming and just wanted to show people it. I have never used git (very bad decision in my part) and created a repository. I downloaded the windows client and the egit eclipse plugin. I used the egit plugin but it just moved everything to a Oder and made it a local repository. I then used the windows client to submit a commit. It was taking a while so I left it on and went to sleep. I

how to add remotes in the GitHub app?

断了今生、忘了曾经 提交于 2019-12-24 12:33:11
问题 I would stick using their official apps as I expect built-in functionality won't break. Yet I think I need to add a second remote to my project, see an answer to my previous question. How does one do that in the app? I only see a "Primary Remote Repository (origin)" box on the Settings tab of one of my repos. 来源: https://stackoverflow.com/questions/21337197/how-to-add-remotes-in-the-github-app

how to add remotes in the GitHub app?

℡╲_俬逩灬. 提交于 2019-12-24 12:27:08
问题 I would stick using their official apps as I expect built-in functionality won't break. Yet I think I need to add a second remote to my project, see an answer to my previous question. How does one do that in the app? I only see a "Primary Remote Repository (origin)" box on the Settings tab of one of my repos. 来源: https://stackoverflow.com/questions/21337197/how-to-add-remotes-in-the-github-app

How to use branches in GitHub for Windows

旧时模样 提交于 2019-12-23 09:07:05
问题 I've just started using "GitHub for Windows", and I can't figure out how to see other branches (or create other branches). The help page mentions this feature, and even shows a screenshot, but does not detail how to get to it. I am aware of how to create and checkout branches from the command line, but I would like to do this from within the UI. Does anyone know how to do this? 回答1: Found it! It's actually very easy when you realise where to look. The name of your branch is shown next to the

GitHub for Windows is showing old README text

风格不统一 提交于 2019-12-22 11:35:12
问题 There is a panel on the right that is supposed to show current content of README.MD. However, I noticed that after changing the content of REAMDE.MD is hasn't updated the text in the panel. Is there a way to forcefully refresh it? The version of GitHub for Windows I have is 1.0.41.2 (fd3fd236ac85e622194e88f248576b9fe25d28d4) 回答1: Yeah, sorry about that. It's a bug and we're working on it. It's currently cached for 30 minutes and sometimes it doesn't expire when it should. The only way to

GitHub client: Pull Request Button is missing

喜你入骨 提交于 2019-12-22 10:05:15
问题 I use GitHub client for Bitbucket repository. All work & sync correctly, but Pull Request button not showing. In GitHub repo all works. I found simular issue - Github for Mac: Pull Request Button is missing, but I use Bitbucket and can't change repo marker from "other". Any proposal? GitHub: Other repo: 回答1: Answer from official github support ( support@github.com ): In order to create a pull request the repository must exist on GitHub.com. and There is a button called 'View Branch' beside

Github for Windows with Gitlab community edition

非 Y 不嫁゛ 提交于 2019-12-22 06:53:38
问题 Having searched here on Stack Overflow and found this question, I now understand that Github for Windows will work with Gitlab. I'm using the Community edition of Gitlab on a local server and I can't get it to work, so just to expand upon the question I've linked above, can anyone confirm if it will work with the community edition of Gitlab? I've tried to connect with my email and password, with the URL set to the base URL of the installation ( https://git.example.com/ ), am I perhaps just

Github showing empty changes for new commits

荒凉一梦 提交于 2019-12-21 21:37:12
问题 My Github for windows is showing some files to have changes, but when I compare the files they are the same! I have a screenshot here: I can actually edit these files and then the error goes away, but then it comes back with a new file at random... Any ideas? 回答1: I had the same problem. I resolved executing from console the following command: git config core.filemode false 来源: https://stackoverflow.com/questions/17319065/github-showing-empty-changes-for-new-commits