github-for-mac

GitHub for Mac: Can't commit and sync or just commit because I have to add files before

 ̄綄美尐妖づ 提交于 2019-12-11 02:44:49
问题 I can't commit and sync files from the GitHub for Mac App because the app says that I have to add the files previously, but I want to the app do that for me. I don't want to go to the terminal to git add -A every time. My partner can commit and sync and the GitHub for Mac app adds the files for him. This is the error that the app returns: Git Error: On branch master Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard

Creating a passphrase for my ssh key on GitHub

江枫思渺然 提交于 2019-12-11 00:48:11
问题 I'm trying to setup a GitHub account and every time I get to the point of entering a passphrase for my SSH key my terminal freezes. Here are my steps: Parkers-MacBook-Pro:~ ppreyer$ ssh-keygen -t rsa -C Parker.preyer1@gmail.com Generating public/private rsa key pair. Enter file in which to save the key (/Users/ppreyer/.ssh/id_rsa): (/Users/ppreyer/.ssh/id_rsa): Created directory '/Users/ppreyer/.ssh'. Enter passphrase (empty for no passphrase): (WONT LET ME TYPE ANYTHING) Anybody else run

The GitHub.app for Mac crashes every time, if a local repository is loaded

空扰寡人 提交于 2019-12-11 00:36:14
问题 If I open a local repository the GitHub.app for Mac crashes. But only if I click on the tab 'Changes'. 回答1: The solution is simple: You have to be sure that all folders in your repository are readable. I had a folder in my repository, which was not readable. After I granted read-access the GitHub.app didn't crash anymore. 回答2: Make sure you don't have large files in the local repository. I believe github was crashing because in my local repository I had a 13MB pgm image. The issue was solved

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

假装没事ソ 提交于 2019-12-10 02:04:15
问题 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. 回答1: Just went through this problem with the following solution. According to

Can we use the Github mac app with GitLab?

a 夏天 提交于 2019-12-09 14:05:50
问题 I like the GitHub Mac app, which I use with my GitHub account. I have joined a GitLab project and I was wondering whether I can use the GitHub app with a GitLab repository. I found a post that discuss that the Windows GitHub app works with GitLab and one that show how to add a repo. Both these posts gave me hope that the GitHub Mac App would work with GitLab. I also see that you can use BitBucket with the GitHub Mac app, but I don't understand whether and how to link a GitLab repository to my

Caution! Just lost nested child repo by doing checkout on parent

一曲冷凌霜 提交于 2019-12-07 23:15:29
Up until recently, I had this file structure: -Repo A |- .git |- files |- Repo B |- .git |- files I then casually checked out a different branch on Repo A (simply switched branches in Github for Mac), immediately switched back, and voilà: -Repo A |- .git |- files |- Repo B Repo B is there but empty! Not even a .git directory! No remotes, and there goes 2 weeks of 3D modelling. (The irony of it all is that my very first 3D-model (before all of this) went corrupt so I figured I'd use git and commit on a regular basis. And so I did...) VonC A nested git repo is only recorded as a gitlink , that

Github for Mac: Pull Request Button is missing

半腔热情 提交于 2019-12-07 02:36:44
问题 Saturday I installed Github Desktop on my Mac and tried the Github Workflow. Created a branch, committed changes and did a Pull Request. Everything worked. Today I installed Github for Mac at work - and the Pull Request Button is no where to be found. I'm back home now on my private Mac and the button is missing here as well now. As you can see on the last screenshot, the branch is up on github.com and ready for a PR. Also the dots in Github for Desktops Timeline (top right) are small, which

What does GitHub for Windows/Mac “publish” do?

怎甘沉沦 提交于 2019-12-06 14:30:59
Like in What does GitHub for Windows' "sync" do? What does GitHub for Windows/Mac “publish” do? Does it push the branch to my origin? Does it push the branch to my origin? Yes, but if you don't have an origin yet, it will ask you for the kind of remote repo you want to create. (create... on GitHub of course) See " Push your code to GitHub.com " Click the “ Publish ” button in the upper-right corner and GitHub Desktop will ask you what kind of repository to create: Public repository — Anyone can see a public repository, but you choose who can commit (make changes) to it. You can create as many

Can I make the gh-pages branch of my git repository a mirror of the Master branch?

守給你的承諾、 提交于 2019-12-06 05:21:55
GitHub has a Project Pages feature that pulls from the gh-pages branch of a repository. It's explained here: http://pages.github.com/ I want the gh-pages branch to be an exact mirror of the Master branch. One way I found ( here on Stack Overflow) is to run: git config --add remote.origin.push +refs/heads/master:refs/heads/gh-pages This causes each instance of git push to push the Master branch of the repository into the gh-pages branch. The trouble that I have with this solution is that I'm using the GitHub Mac App, which doesn't use a strict git push . According to http://mac.github.com/help

Drawables won't push to github Android Studio

此生再无相见时 提交于 2019-12-06 00:39:13
问题 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