Git: Configure identity and query, create a code repository, view files in the repository, and share commands. git Repository
1. Configure identity and query
Git config -- glocal user. name "me"
I often write essays. It is very convenient to participate in version control. Sometimes, due to various reasons (such as network failure), I cannot clone them to the local machine, and I want to write new essays, there will be a lot of submission history in the write process. When I merge it into the casual folder, I also want to submit the history.
Now we can simulate this scenario:
1. Create the essays folder and add essay1.md; 2. Create the TMP folder, add the essays2.md folder, add the
GitHub Upload Project Method:Install Git on your computerGit Bash HereThe general process for creating and correlating local git repositories and remote repositories is:1. Initialize this local folder as a Git manageable repositoryGit initNote: Git will automatically create a unique branch for US masterWe can find a di
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 solution projects into a PC solution:How does GIT
given a solution (for Mao early did not find Ah, a full two days ah ...) ), in the latest version of Msysgit 1.9.4, can be settled by a setting:Add the following in the GIT config:FalseTo me, it works fine.From this git I can. How to push how cool.Mom never had to worry about my server hanging up. A line of code for two days Saad, although it feels like being played, but still feel very substantial.Above.B
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
From: http://rongjih.blog.163.com/blog/static/3357446120107111449543/
Get ready:Sudo apt-Get install Git-SVN
Follow these steps to convert the svn repository to a git Repository:1) Move the remote SVN repository to the Local Machine (this step is mainly used to increase the
considerations. Modify it to/usr/bin/git-shell. In this way, git users will not be able to log on to the system, because the git-shell will automatically exit every time they log on. Now, the Git repository Initialization is complete. The following example shows how to clon
Workspaces, staging area, repository, remote repositoriesfirst, the concept1, four working areasGit has four workspaces locally: working directory (working directory), staging area (Stage/index), repository (repository or Git Directory), and git
" Downloads ", select" Command line Tools "and click" Install "to complete the installation. 3. Installation under Window platform
When you want to use a lot of Linux/unix tools under Windows, you need to cygwin such a simulation environment, GIT is the same. Cygwin installation and configuration are more complex, I also have a wooden configuration. The use of cattle people to the simulation environment and git
The previous article introduced Git's local basic operations, if you don't need to collaborate with others, such as writing a book yourself, writing a small program yourself, writing a website, and so on, it's almost enough. but sharing and collaboration is the theme of the free world, and Git is born for it, so try to be a student who loves to share and collaborate. ^_^The Git
Start a new project by building a new library in an existing Git repository and uploading the local git repository to the remote server's Git repositoryfirst , create a new folder on the local ABC, enter into ABC, and then git ini
Create a remote git repository within the LAN and push the local warehouse push to the remote repository
1. telnet to the server in the LAN first
2. switch to a folder in the server,
Then create a new folder to use as a git repository (the folder name is best with the same
2.1 git basics-get git repository
Description Source: https://git-scm.com/book/zh/v2/git-base-Get-git-Warehouse
If you can only read a chapter to learn Git, this chapter is your choi
All of the GIT operations that appear in the previous article are based on the local repository, but working on a daily basis requires more than one person to work with in your own code warehouse. So, here we begin to introduce git remote repositories.In a git system, users can push/get updates from other developers vi
1. Background Git manages remote repositories. This document uses GitHub as an example. 2. Manage remote warehouses 1. For local SSH authentication, create a repo on GitHub called ospaf-getwordfre 2. Add a remote repository, which can be implemented using the GIT Remote Command. O is the repository name and can be v
Many times we have created a project locally, and we want to use Git to upload the code to prevent accidental loss of code after the project has gone through a phase. At this point we need to know how to upload a local project to a remote Git repository.Most of our daily life is to pull items from a remote git repository
Build a Git repository in CentOS6 and a centos6git Repository
After Redmine was launched recently, the system integrated the Git linkage function, so I came up with the idea of building an intranet repository. I would like to record the following:
1. Install
the test machine and upload the key to the git repository,
[Root @ node1 ~] # Useradd-d/opt/user1 user1[Root @ node1 ~] # Echo "user1" | passwd -- stdin user1Change the password of user1.Passwd: All authentication tokens have been successfully updated.[Root @ node1 ~] # Useradd-d/opt/user2 user2[Root @ node1 ~] # Echo "user2" | passwd -- stdin user2Change the password of user2.Passwd: All authentication to
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.