managementOther items if you want to change the generic file you must switch to the branch and then generate and then switch back to add a new DLL (to ensure common project file consistency)
Incorporate projects from your mobile solution into your PC solution and then maintain them with the new branch mobile
Problem 1 has been resolved, when I was inThis problem is encountered when merging mobile
Convenient for future reference. Thank the original blogger for sharing.
When we develop a project on more than one computer, we need to constantly modify the submission and update the latest remote code on another computer, see how to get updates from the remote code warehouse to the local, summed up the article on the Internet, using the following way is relatively simple.
Viewing remote branches
Use the following command to view the remote reposito
1. First create a library on Git to save the uploaded local files2. Command git init to turn this directory into a repository that git can manageGit init3. Save a copy of the remote Git library to a localgit clone xxxxxxxExample: Git
. This is not the workspace, but the GIT version library.
The GIT version library stores many things, the most important of which is calledStage (or index)And the first branch master automatically created by git for us, and a pointer to the master is head.
Note: The concept of br
:[[Email protected]/]# CD accommate/"This isTest txt-accommate" > AccommateSubmit the file to the local git repository:" Add Accommate " [Master (Root-11 insertion (+100644 accommateThen synchronize the local git repository to the remote git server (first, add the parameter-
initGit creates a hidden folder named. Git under the Test folder, which is your local code base.4. Staging (stage) fileWe need all the project files in the staging (stage) test folder and enter the following command:git Add.The last "." The symbol means "All files, folders, and subfolders". If we only need to add specific files to source code control, we can specify them:git add my_file,my_other_file5. Sub
1, (first into the project folder) by command git init to turn this directory into a repository that git can manageGit init2. Add the file to the repository, using the command git Add. Add to staging area inside, don't forget the decimal point ".", meaning to add all the files under the foldergit Add.3. Use the command git
don't be so crazy! The more complex the branching, the harder it is for us to determine what we are doing.10. AliasesGit allows us to create shortcuts (aliases) for commonly used commands. For example, if we don't want to enter Git commit-m "some comment" every time, but instead enter git C "some comment", we can add an alias to the GIT global configuration, lik
. Let's turn on the clone to local project from GitHub and make a few changes.Print LogB. Then we find that the Sourcetree interface has changed, and it will count some of the changes we've made.Introduction to the Push interfaceC. Next, we submit the modified content to GitHubPush to GitHub interfaceStep 3 If you choose, the equivalent of we commit the changes to the local repository, and push to the remot
Xcode also upgraded to the 6 version, Swift also out of 2.0, I would like to do a small project in the new environment try not to because git operation of the code mistakenly deleted, the morning study under the Xcode6 git under the operation of the special record;
The tragic record, last night I'm going to push the local gi
1. Create the corresponding project in the remote Git repository;2. Generate the local SSH key using the command line;3. Paste the public key into the location of the remote repository;4.SourceTree set the address of the remote repository;5. Push the local branch to the remote repository;Note: 1.http buffer cannot tran
Git local Repository (Repository) Details
Outline:
I. Preface
Ii. Overview
3. Install Git on Windows
4. Create a local repository
5. Detailed explanation of local Warehouse Management
Vi. Summary
Note: CentOS 5.5 x86_64, Git serve
Summary: Branch Switching is one of the most important parts of Git's use, and git checkout is often used to roll back the current working directory-and, of course, to do branch switching. Therefore, this is a command with very high error rates. This article is mainly for you to parse git checkout two special errors su
and remove SSH keyBefore configuring, let's check if there is an. ssh file in your computer, and if so, delete our new configuration from the following steps:Click Finder, go to folder, Jens is my host name, when you write your ownDescription: this. ssh file belongs to hidden file, we can show hidden file through terminal
command to show Mac hidden files: Defaultswritecom.apple.finderAppleShowAllFilesYES hide mac hidden files command: Defaul
sensitive data (but not before the deletion of others pull to go, or one by one to "Shut Down": X-P :).
Git's nuclear bomb removal password is the issue of non-fast-forward.About git fastforwards
When git executes push, it will execute a check: that is, the top node of the remote branch should be the child node of the new node to be pushed locally, otherwise the
can enter the command you want to query on the terminal, for example, input man mkdir to print the usage and parameters of mkdir.
The git official website provides more detailed git operation commands. You can view the learning information on your own.
7. done
Git Tutorials:
GitHub tutorials
Git tag management details
Git has been used for a while in a standalone environment and found that the Git plugin in IntelliJ idea is not perfect.
First, the Git local repository in IntelliJ idea must be built under the current project folder, and other custom locations are not supported.
Second, you can't use IntelliJ idea's
Git view local and create branches and upload branch to serverHere is the command operation in the GIT command line, plus the instructions:Welcome to Git (version1.9. 5-preview20141217) Run' git help
To remove a file from Git, you must remove it from the list of tracked files (to be exact, remove it from the staging area) and commit. You can git rm do this with a command, and also delete the specified file from the working directory so that it does not appear in the list
local repository). So how do you discard local changes in Git, and how do I roll back to a previous commit?
Here's an example of how to discard local working directory modifications in Git.(1) Create a git repository(2) sub
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.