On a Linux server
The first step is to create an account that is specific to Git's warehouse, which is also easy to manage. You can refer to the Linux New User command for this article.
#新建一个git用户组sudo groupadd git#新建一个git用户, create a directory, and prevent shell logins from being added to the GIT user group
sudo us
Guide
Git version control system requires a server side, and on GitHub to create a private git server-side warehouse that touches the charges, so here we use Dropbox free space to take a look at the tutorial to build a private git r
Document directory
Fork, code, pull
Secure Code hosting
Work as a team
Collaborate and get Social
Integrate
Https://bitbucket.org/
Supports git or
Mercurial is very powerful and similar, but most importantly, it supports free git private repository. It also supports social networking.
Unlimited disk space unlim
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
Create a private repository for docker and a private repository for docker
Thanks to the network speed and the performance of the Greater China LAN, the image download speed in DockerHub is very slow. Even some domestic image warehouses do not feel very fast. Therefore, it is necessary to build an image
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
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
websites have provided git warehouse hosting services, such as the famous github.com at home and abroad, the domestic famous git.oschina.net. While both are able to provide hosting services, GitHub is free to build only Gangcan (visible to all users), private (only for their own visibility) is to pay, and Oschina public and private positions do not need to pay,
1, the local Yum warehouse installation configurationTwo different ways:1. Each machine is equipped with a Yum repository on a local file system file:///packege/path/2. Configure a local file system Yum repository with one node (server-base) inside the LAN and publish it to the Web server.Other nodes can be http://server-base/pagekege/path/through theProduction process: First select a machine servername, mo
Build your own maven private repository with nexus, and use nexusmaven private
Build your own maven private repository with nexusWhen the nexus was just installed, the startup of the nexus failed. It started less than 1 minute and stopped automatically. Later I found the cau
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
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.