git clone https://github.com/xxxx/lilxxy.gitInitialized empty Git repository in /tmp/clone123/lxyily/.git/error: while accessing https://github.com/xxxx/lxyily.git/info/refsfatal: HTTP request failedThe cause of this error can be:1. Server Time Issues2. Git version issue3, C
Version number problem, the most straightforward way to solve is to edit and install git again:1. Download: # wget-o Git.zip Https://github.com/git/git/archive/master.zip2. Unzip: # unzip Git.zip3. Go to git folder: # CD Git-master4. Compile and install:# autoconf#./configur
[root@iz620cgsubhz/tmp]# git clone https://git.dwhd.org/lookback/docker-gitlab.gitCloning to ' Docker-gitlab ' ...Fatal:unable to access ' https://git.dwhd.org/lookback/docker-gitlab.git/': Peer ' s certificate issuer are not recognized.
[root@iz620cgsubhz/tmp]# cd/etc/ssl/certs/[root@iz620cgsubhz/etc/ssl/certs]# Make Serial=5This makefile allows your to create:o public/private Key Pairso SSL Certificate s
Label:Version problem, the most straightforward solution is to re-edit the installation of Git:1. Download: # wget-o Git.zip Https://github.com/git/git/archive/master.zip2. Unzip: # unzip Git.zip3. Go to git directory: # CD Git-master4. Compile and install:autoconf
. /config
About git ssh-key: solves the problem of multiple local ssh-keys, gitssh-keyWhen setting github, the official instructions require that the current id_rsa be backed up and a new private key be generated for github login. If this is done, the new private key cannot continue to log on to the previous machine. This method is a bit violent...Fortunately,
under the Administrator \. Ssh directory
"Save private kay" putty. PPK
Copy the line in the public key to git/. Ssh/authorized_keys.
Use tortoisegit to clone a project
SSH: /// git@172.20.1.7/home/
Inside the git window:Using Git to create a repository1. Using Commands mkdir ABC , ABC is a filename and the reader can name it by himself.2. Using Commands CD ABC Open the ABC folder3. Use the command git init to make the contents of this folder into a repository that git can manageIf you want to connect the reposito
The system prompts the following error when using git clone http: // 10.0.13.2/Project:
The requested URL returned error: 401 (curl_result = 22, http_code = 401 ....)From http_code = 401, we can see that it is due to authorization. Although username and password have been prompted, the username and password previously entered are not saved for multiple requests.Solution 2:1. Create the _ netrc file under $
Under ~/, Touch creates a file. git-credentials, edit this file with vim and enter the content format:Ame@zhenyun ~ $touch. git-credentialsAme@zhenyun ~ $vim. git-credentialsPress "I" on the inside and enter: Https://{username}:{password} @github. comsuch as Https://aoeddklj:[email protected]2. Perform under the terminalAme@zhenyun ~ $
There are many kinds of git permissions problems, one of which is because git takes two authentication after the key that requires SSL authorization can have permission Pull,push. Before using Sourcetree to clone project, but the pit is here, accidentally chose the link of https, then pull down the project is HTTPS, and then switch to two times after the authenti
when learning git, I found that I couldn't use git clone to download from Github.com and reported an SSL error. Cloning into Cancan ...ERROR:SSL certificate problem, verify the CA cert is OK. Details:Error:14090086:ssl Routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com /ryanb/cancan.git/info/refsFatal:http request fa
Let's talk about Git's ssh key and gitsshkey.Role of the ssh key
When we use ssh to log on to the server, we usually use the user name/password to log on,You can also use the ssh key for password-free login. This method is usually used by Git servers.Generate an
git clone Google's volley code encountered Q.Think of using a proxy server to solve this problem. Google a bit of a solution, record it, share it.git config:To set up a proxy server:git config--global http.proxy http://proxyuser:[email protected]:8080git config--global Https.proxy https://proxyuser:[email protected]:8080Proxyuser: Proxy Server userPROXYPWD: PasswordProxy.server.com: Proxy server address8080
How Git uses the Generate SSH personal public key to access the Git repository method ( here, for example, the coding platform ):1. Get the SSH protocol addressIn the Project code page click SSH Switch to SSH protocol, get access
Download the LIBUV source, according to the Readme file configuration related environment variables, under CMD directly run Vcbuild.bat found unable to git clone, command line prompt cloning into ' build/gyp ' ..., fatal:unable To access ' https://chromium.googlesource.com/external/gyp/': Failed to connect to chromium.googlesource.com port 443: Timed out. Obviously this side of the network can not connect t
/authorized_keys file ~ /. Ssh/authorized_keys: append the public key content to the authorization file.
If ~ /. Ssh/authorized_keys does not exist. You can directly copy the id_rsa.pub file and rename it to authorized_keys.
3. ssh Public Key authorization fails:
View and modify the ssh configuration file:
# Vi/etc/
file
1. Create the config file and create the file in the ". SSH" Directory① Create a new txt text under Windows, and then change the name to config (including the. txt suffix)② under Git bash, directly touch config to create a config file2, edit the config file, modify the following content:# gitlabHost gitool.glanway.comHostName gitool.glanway.comPreferredAuthentications publickeyIdentityFile ~/.
Project development under Windows, using Git to connect to git libraries via ssh, while SSH uses public key to connect.
First you need to download the mygit and use Git bash after installation. Git bash (with GUI interface, such a
The role of SSH keyWhen we use SSH to log in to the server, it is common to log in using the username/password method.You can also use SSH key to implement password-free login, which is generally used in this way by the GIT server more.Generate SSH Key"your name"The default
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.