After mastering the basics of Git use, you may encounter some common problems. The following are some of the problems that cat Brother screening summary, share to friends, master the points in these questions, Git advanced also completed, it contains the following sections:
How to modify Origin warehouse information
How to configure Git ssh keys
project?) , need it ... , I could use 2 of them.
Although1. The Submodule warehouse is also under the Git/modules folder of your project.2. Provide submodule this handy command main code base refers to the child code base submission (commit) instead of the branch (branch)
When your project is built, you must simply refer to a version of
Instance code: Parent Project: Https://github.com/jjz/pod-project Sub-project: Https://github.com/jjz/pod-library usage Scenario
Based on the company's multi-project, we extracted a common class library for use in multiple projects, but how can this library be easily managed with git? Here are a few questions to solve: how do I import library libraries in a git project? Library libraries have been modified
Git submodule Add submodule Engineering Modify submodule Update submodule summary more references
Git submodule
The recent use of this command, mainly in order to implement in a
From:http://www.worldhello.net/2010/01/26/425.htmlThere are two scenarios for deleting git submodule (Git library sub-module) to create Git submodule (Git sub-module)
Explicit add: Use the
During the development process, our project may reference the code generation in other versions. For example, the company has already been tired of using a set of common functions, it is used by multiple targets. Naturally, public correspondence files cannot be directly stored in our development environment, which is not only redundant, it also increases the degree of attention of the hacker. It is no doubt that he is seeking for trouble.
At this time, we can use the
and Convenient;With just a few simple operations, you can clone the same Vim running environment on your computer at any time.It is absolutely simple and convenient. This is what we are pursuing.
2. Use git submodule and PathogenThere is a solution that can solve the problems mentioned above.Plug-in management, there is a famous Vim plug-in pathogen for convenient management.You can use the
In the development process, there are often some common parts of the hope to be extracted into a public library to provide for other projects to use, and the Public Code library version management is a troublesome thing. Today, the git git submodule command was accidentally discovered, and the previous problem was solved.Add toTo add
Move the sub-module forward, delete it (delete the sub-module, and then submit the push), and delete the sub-module step:1. In the platform. Web library, right-click-> git Bash to enter the GIT command line window, and enter:Git Rm -- cached references/idoa2. Modify the. gitmodules file and remove the submodule nodes of references/idoa (station3. there are no sub
For libraries with Submodule, The Checkout method is:git clone https://github.com/belledonnecommunications/linphone-android.git--recursiveIf you are unable to download it due to the wall, or if the network problem is broken in the middle, you can usegit submodule update--recursiveThen send the submodule.If there is a submodule wall, you can first import a public
: Git status View changes to files in the local workspace, registers
For the use of Git diff and git add commands, please refer to the article: Git Usage manual: Git diff, git Add, git
manual: Git diff, git Add, git diff--cached command details
For a detailed explanation of git commit commands, please refer to the article: Git manual: Git commit-m/-am/-a-m submit files to local warehouse area
For a
: Git status View changes to files in the local workspace, registers
For the use of Git diff and git add commands, please refer to the article: Git Usage manual: Git diff, git Add, git
Git is a simple getting started tutorial. It is a simple tutorial for students who have never dared to use Git.
It has been almost half a year since I started to work in February 12, 2014. I still remember the surprise when I first came into contact with the centralized version control tool SVN. This is for me who have
Concise git tutorial (single-user version) and git tutorial
Recently, I started to write a relatively large project, so I need to use git. I have been using SVN built with Kingsoft kubernetes and turtles. Recently I want to try git
Git branch operation tutorial, git branch operation tutorial
1. Create a branch
Git branch name
2. Switch Branch
Git checkout branch name
3. Submit the code after modifying the branch
Gi
Git learning, git learning tutorial
Git command line configuration1 install Github2. Install msysgit3. Configure the user name and Fuel TankGit config -- global user. name My command is: git config -- global user. name mchdbaghGit config -- global user. email My command is:
ObjectiveI have always wanted a piece of this stuff, because when I first contacted, I also carefully read the Liaoche tutorial, but it seems I think a little bit more, and will bring me a lot of redundant and repetitive operating burden, so I hope to compress it in my work cost, but search for a while did not find a satisfactory tutorial, A new year to comb your own experience.Maybe the boys are more big G
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.