github-for-mac

Is there a way to make GitHub Desktop rebase a branch against master?

徘徊边缘 提交于 2019-12-05 08:56:02
问题 When I choose "update from master" , it creates a merge commit. I'd rather just have it re-base. Is this possible? 回答1: It does not appear that feature is currently included in GitHub desktop. What I normally do is click on the repository name in the drop-down menu in the top left and then click on "open in terminal". Then just follow the instructions here. Update: If you add this to your .gitconfig , GitHub desktop should rebase according to here. [pull] rebase = true Second Update: GitHub

How do i get the list of Reviewers for a pull request using Github api?

半世苍凉 提交于 2019-12-05 01:27:27
I need the list of reviewers for a PR, and the Review Requests API present in Github only provides me the requested reviewers which becomes empty once the reviewers have accepted their invitations. I also tried the Reviews API to get all reviews and then get unique users, but that seems to be only for users who enter one and not for those who have accepted the request review invitation and never posted a review. Just went through this problem with the following solution. According to GitHub's documentation : GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers Pull request authors

Installing Git separately from Github for Mac

拥有回忆 提交于 2019-12-04 16:57:18
I've installed Github for Mac. I've realised that I need to get to the command line to do some stuff. There is an option in Guthub for Mac to install a command line. All this seems to do is create an alias called Github in /usr/local/bin that points back to the Github for Mac application. Double clicking it opens a terminal window and then Github for Mac. Any ideas how to get Git to work in a command line? Its a relatively clean version of Lion OS X https://help.github.com/articles/set-up-git#platform-mac Should walk you though installing it. Git is included in the command line tools package

Rollback to Previous Commit - Github for MAC (a revert is already in progress)

感情迁移 提交于 2019-12-04 16:11:26
问题 I think I've messed up here. I made a few changes to my code from a last commit adding new functionalities and realized that some other piece of code was now acting strangely. I decided to Roll back to an old commit (pushed to remote as well) in order to test if that functionality was working by then. Before I pressed Rollback, I committed my currently made changes because I did not want to lose them. After committing (not pushing to remote), I did the rollback to that old commit. (note that

GitHub for Mac error: git: 'credential-osxkeychain' is not a git command

痴心易碎 提交于 2019-12-04 08:56:35
问题 When using the GitHub for Mac app (version 87), I received the following error: git: 'credential-osxkeychain' is not a git command. See 'git --help'. error: The requested URL returned error: 403 while accessing https://github.com/[PROJECT URL]/info/refs fatal: HTTP request failed (256) The git command-line tools (version 1.8.0) are installed at /usr/local/git/bin and git-credential-osxkeychain was correctly installed at /usr/local/git/bin . How can I solve this error? 回答1: When I tried to run

Drawables won't push to github Android Studio

懵懂的女人 提交于 2019-12-04 06:18:16
Hello I am not sure why this is the case, but when I commit and push to GitHub no matter how many png files or pictures I add to my drawable folders, the drawables folder never changes on the repository when I access it thru my profile on GitHub. Example picture: I have done research, but didn't find much substance Why build and libs folders in Android project can't be commited or pushed? I was surprised that there is not a lot written on this. This can be fatal if a user commits a project ending error and needs to recover everything on Github just to find that every drawable or png file will

Using git from the command line after installing Github for Mac

浪子不回头ぞ 提交于 2019-12-04 02:01:57
问题 I installed Github for Mac, which works fine, but I can't run git commands from Terminal. Do I have another git that needs to be installed? Or do I have to enable some optio within Github for Mac? 回答1: Starting May 2013 ("Installing Git from GitHub for Mac"), you don't have to install another git distribution: everything is included. you can now easily install Git for use on the command line, without needing to download any separate packages. And whenever we update the version of Git included

Is there a way to make GitHub Desktop rebase a branch against master?

不问归期 提交于 2019-12-03 23:34:28
When I choose "update from master" , it creates a merge commit. I'd rather just have it re-base. Is this possible? It does not appear that feature is currently included in GitHub desktop. What I normally do is click on the repository name in the drop-down menu in the top left and then click on "open in terminal". Then just follow the instructions here . Update: If you add this to your .gitconfig , GitHub desktop should rebase according to here . [pull] rebase = true Second Update: GitHub desktop 2.0 now supports rebasing built in! It is under the branch section of the top menu or you can use

How can I access the 'GitHub for Mac' command-line utility from the terminal?

[亡魂溺海] 提交于 2019-12-03 15:44:13
I recently installed GitHub for Mac, the graphical Git client from GitHub, and also the command-line utility from its menu, shown below: I was notified the command-line utility had been installed in /usr/local/github , but when I checked it had actually been put in /usr/local/bin/github - details shown below: When I try to run git I get -bash: git: command not found , so I added export PATH=/usr/local/bin:$PATH to ~/.profile thinking it would solve the issue, but it hasn't - all that seems to be different is I can now start GitHub for Mac from the terminal by typing github . Please could

GitHub Client on OS X Commit Fail (\"Failed to add file …)

纵然是瞬间 提交于 2019-12-02 23:44:04
I am trying to commit changes I have made to my code (as usual) from my GitHub client on my Mac OS X Mavericks machine. I added a new package to my project (it's a Laravel project, and I added the package Rocketeer. I also made a few config changes). I am getting the error: Failed to add file laravel-master/vendor/anahki When I uncheck this file in the commit list, it then goes to another file showing this error. Failed to add file laravel-master/vendor/illumin Any idea what is going on? I have never run into these issues. Thank you. EDIT: I have narrowed this down to two files that are not