Pro Git study notes Document address:Pro GitOriginal address:PRO GIT study notes 1. Git Starts Configuration before first running Git User information git config –global user.name “your user name” git config –global user.email “your email address” Text editor To set the default text editor:git config –global core.editor emacs View configuration information git config –list 2. Git ..
A: “A small white at the front end, she is not familiar with git, and the code she has worked so hard for a week is gone.”B: “oh? Why not? “A: “enter git log at the terminal and list all commit information, as shown in the following figure:”A: “The information of commit is very simple, ..
Introduction At the time of graduation, some articles that came into contact with talked about iOS engineering modularization (cocopodization) everywhere. I have also been trying to decouple the company’s project codes. however, because it is really unnecessary for one person to develop engineering cocopodization, I have not studied the method of engineering cocopodization for a ..
At present, I have created a gitlab project. how can I merge my project into someone else’s project? In the past, I established a subsidiary relationship through fork’s other people’s projects and can realize merge. Now I am a project that I have created myself. I have no goal and cannot merge. Please ask the ..
Environment w10 vscode git tortoisegit Problem description When I use ittortoisegitcarry throughpushWhen operating, everythingNormal When I use itvscodecarry throughpushWhen operating, the prompt is as followsError > git push origin master:master Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Is ..
I have no problem cloning the code from git clone (the last master was submitted by me) This may be caused by local l..
How to solve the extremely slow operation of git under windows10? After reinstalling the system once, it is extremely slow to use git no matter clone, pull, push, which usually takes a few minutes and cannot be tolerated at all, but commit is still very fast. What is the problem of asking for advice? Network ..
The company synchronizes an item with the computer at home, and the subdirectory of imgs should be ignored.Gitignore file writing imgs/*/The company computer changed the name of imgs to img, and the gitignore file was changed to img/*/ and committed.After the home computer git pull, the original imgs disappeared. Git reset back is no good. ..
Many articles on the internet say that execute the command gitconfig-globalcore.autocrllftrue, or add the following parts to the. gitconfig file: [core] autocrlf = true It can be realized that Git automatically converts line breaks in files from CRLF to LF during commit, and automatically converts line breaks from LF to CRLF during checkout. Then why ..
Window-7 git pull prompt: once again pull is normal. Linux is the perfec..
Habitual problems like to checkout a new branch before development, and then merge to the development branch. However, goose merge needs to checkout to development first and thengit merge branchThen checkout and come back. Is there any elegant way to implement sogit merge-into xxxThis kind of operation? First answer the question. Use fork+pull request to ..
Problem description # # I log in to the code cloud for git account. I want to download the project from the code cloud to the local, but the download always fails. The picture shows an error. The environmental background of the problem and what methods have you tried? Related codes //Please paste the code ..