When I try to clone the project on a formatted computer I get an error because I don't have access permission to the repositories. I try to clone to project using net beans "clone other" option. The problem arrises from the fact that the users involved in the project don't remeber how to process to grant permission was done. I know that the permission is given using a ppk file somehow. but I don't remeber how. I have the ppk from the old formatting.
Related
Ok about 2 hours ago I enabled the VCS as GitHub, then went in and did the Oauth (I think its called) where JetBrains opens a browser and asks me to authorize GitHub. Then I clicked admin, create a repo, add comments, add read comments, and other stuff to authorize PyCharm to create a repo and push via the app.
Now I'm still getting errors, it pushed to create a repo... but there is no code inside.
Why isn't this a simple process? I've enabled it, and setup GPG access but it refuses to sync my code.
Now under preferences>version control the directory just shows despite my project having a name and over 500 files.
Under Preferences > Version Control > Github it shows my GitHub icon, I tried login in thru the IntelliJ button and I've synced a token. Neither worked
Pycharm is supposed to be a simple way to learn to develop stuff and be integrated.
What am I missing as I'm authorized on PyCharm Professional as a student.
git#github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I didn't find how to fix this in pyCharm, but it worked for me when I saved my private key (matching the one authorized in GitHub) in my ${HOME}/.ssh/id_rsa.
Hope it helps.
I have installed GitHub Desktop as the uploaded local project tool, I uploaded a project "F:/test", and it could show successful in my GitHub homepage, then I delete this repository.
But I re-publish this project to GitHub.
Github Desktop shows this history of the repository, and prompt error
The repository does not seem to exist anymore.
You may not have [enter access, or it may have been deleted or renamed
How can I get past this error message?
This error was keeps on occurring to me. Turn out I was not added as the Contributor on the GitHub project.
The repo owner should be able to see and list of Contributor for the project. You can request him to add you in contributor list and this error will disappear.
I was facing the same issue, I simply sign out from Github Desktop app in File > options > Signout
In my case I accidentally changed the push Url, so I executed:
git remote set-url --push origin https://github.com/username/repo.git
After that I checked with:
git remote show origin
your Fetch Url and Push Url must look like the same URL where you cloned the project.
As shown in this error, it is the result of an invalid local path. Either because it includes invalid characters, or because you don't have write/admin access to it (read access is not enough).
If you can, clone again that repo in a different path and open it with GitHub Desktop, and see if the issue persists.
I had the same issue. I deleted my repository from remote as well and then recreated.
If you aren't worried about the change trace being lost, then you can simply remove the .git folder (you will need to enable hidden files in windows) and then re-initialize the repository in the project folder.
This resolved the problem for me!
In my case I have used more than one account. Just sign out from GitHub Desktop and sign in back to the specific account. You might sign out any logged GitHub session on the default web browser if the account is not what you want.
Since I had a forked repository, I had spelled my url wrong in
github desktop -> repository -> repository settings...
I had a link called github.com/myname/myproject.it
but instead of it I hade to write git.
github.com/myname/myproject.git
I was logged in with the wrong account! I had to sign out of Github in the browser first, then sign out in Github Desktop and re-sign in
We are having an issue with syncing on Github Desktop.
We have a team of 4 members and a company setup in Github.
One of our members can sync the repos he has already worked on before but when I create a new repo for our company, so all members can access it, I can sync but one of the members who is working on the project keeps getting an error
https://github.com/companyname/reponame.git/ doesn't seem to exist any more.
You may not have access, or it may have been deleted or renamed
I have tried to research this but not been able to get any direction, where to go?
Thank you everyone for posting and helping.
I have found the solution and it's a big oversight on my part.. Remember when you create a Repo with team member access, you MUST give then access to WRITE as Git sets default to READ only. When syncing, git desktop does not make it clear that its a permissions issue..
Here is where the READ/WRITE permissions are located on the Github site once you are logged in.
Thank you all.
Double-check that:
the right account for that user has been added as a collaborator for your repo (or your GitHub organisation).
said user is not using a credential helper which would have cached another GitHub account
git config credential.helper
This seems like a simple question which should have a simple answer...
I'm trying to checkout a GitHub project. The project is owned by someone else, so someone else is the Owner. GitHub Collaborators have read/write access, and I have been granted collaborator rights on the project. Collaborators are slightly different than Contributors, who have simply provided a pull request in the past.
I'm trying to avoid the following because I do not want the source files in "read-only" mode:
git clone https://github.com/user/project.git
I feel like I need to identify myself, and send my password or SSH key. But GitHub's help at Which remote URL should I use? only discusses SSH in the context of a Desktop client. I guess they have an app they want me to use, but I don't really want to use one.
Note: I have information in Git's global config (user.name and user.email), but its not the correct information/credentials for these purposes.
How do I checkout a GitHub based project as a Collaborator from the command line?
Using the the HTTP endpoint instead of the the SSH one.
As an aside, when you say checkout do you mean clone, fork or pull?
for clone it would be similar to this:
git clone https://github.com/user/project.js.git
You will be prompted for your user name and password.
I was thinking about starting an open source project in github but I dont have idea how to hide my passwords that I use when I am developing! because even if I change them people can see it in the commits history when I have changed my password and then use it! now I am making some sort of webmail with PHP and I am using my personal password. What are your suggestions?
Generally, the approach would be to isolate your passwords in configuration files and do not check in your deployment configuration files. Instead, you would keep those on the side and apply them to your local working copy after the fact. Many projects will have template configuration files that one can fill out to get started.
See, for example, WordPress: http://core.trac.wordpress.org/browser/trunk/wp-config-sample.php
Make your code read the password from a property file that you don't commit to the git repo.