Questions tagged [private-repository]

42 questions
426
votes
31 answers

Clone A Private Repository (Github)

I have a private repository on Github for a project I'm working on. Until now I had only worked on my home desktop, but I just bought a laptop, and am trying to set it up so that I can work on the project from either computer, and push / pull…
Solomon
  • 6,145
  • 3
  • 25
  • 34
28
votes
2 answers

Clone a private repo of github with username and password

I have configured Account A on my system with Global configurations and I can clone all my repos from there. Now I don't want to change the configuration and I want to clone and do all operations of account B with my username and password. How can I…
Usman Afzal
  • 558
  • 1
  • 6
  • 13
27
votes
4 answers

Importing private repo to other private repo Git

I have a private repo on git that I would love to import in another private repo. When I try to import it, I log in with my account and then this message Your old project requires credentials for read-only access. We will only temporarily store them…
arrabattapp man
  • 383
  • 1
  • 3
  • 11
14
votes
8 answers

authentication was removed. Please use a personal access token instead

Error when trying to connect to GitHub: remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see…
8
votes
3 answers

Why am I not able to clone a private repository in which I am a collaborator

I am a collaborator in one the private github repository. I am able to fork it but when I try to clone it onto my system, it shows a pop up box asking for credentials and even if I enter correct credentials I can't login. Is it just me or github…
Anjali
  • 143
  • 1
  • 1
  • 6
7
votes
1 answer

Unable to clone private repository github : Authentication failed

I have created a private repo in github and when I am trying to clone it using cmd (git), I am prompted with github window where I enter my username and password. It says login failed in the cmd and then asks username/password in the cmd. I enter…
4
votes
1 answer

Download zip release from private repository with node.js

I'm trying to download zip release from a private repository, i've tried many solutions but none seems to work. Here my code : function Download(url, path, options) { updateHeader(options.stageTitles.Downloading) let received_bytes = 0; let…
Solber
  • 147
  • 2
  • 9
3
votes
0 answers

Using Github cache action to store packages to speed up action run times

I have set up a GitHub action to run the rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error") function on my R package every time there is a pull request, but it's taking over 15 minutes each time to download and install all of the…
3
votes
1 answer

How do I clone git private repository in eclipse?

While trying to do that, I keep getting this error but my URL is correct. However, when I tested with public repo it works fine
3
votes
2 answers

Clone a Private Github Repo with a Personal Access Token Netbeans

The connection between my NetBeans project and its respective GitHub repo has always been seamless, until now. I understand that GitHub implemented an update on August 14th which requires users to use a Personal Access Token to access their GitHub…
2
votes
0 answers

Simple way to access code from a private Github repository in google colab?

I would really like to be able to import modules from a private Github repository into google colab. I know I have access to this private repo because I pull and push from it regularly. I went into Settings on google colab and connected my GitHub…
2
votes
1 answer

Can't push to private repository

By mistake i pushed .env file to github and then i wanted to hide .env file from my private github repo using .gitignore. For this purpose, i did many stupid things and now it's saying repository not found. Please help me fix this! Now when i do git…
2
votes
1 answer

Unable to access private repositoryusing github API

I'm unable to pull issues of private repository under my account. I've created personal access token with repo permissions. Using this command to fetch issues : curl -i https://api.github.com/repos/{owner}/{repo}/issues -H "Authorization: token…
1
vote
1 answer

Unable to "go get" module from private github repo on centos 7

I am unable to "go get" module from private github repo I getting following error message go get go: github.com/xxxxx/xxxxx-service@v0.0.0-20230419012042-5a43328285a5: invalid version: git ls-remote -q origin in…
1
vote
0 answers

Installing already existing laravel application with private packages

One of my teammates created a Laravel application which uses a few private packages and also uses laravel sail. The composer.json file contains this: "repositories": [ { "type": "composer", "url": "URL TO SATIS…
TJ is too short
  • 827
  • 3
  • 15
  • 35
1
2 3