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 use
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
Reproduced in: http://www.cnblogs.com/nemotan/p/4655498.htmlOne, Windows install git1. Download: http://msysgit.github.io/, install directly after download, open Gitbash2. Configure user name and mailbox:$ git config--global user.name "Your name"$ git config--global user.email "[email protected]"3. Create a new folder and execute
First, install Git on eclipse, just like installing other pluginsHelp->install New Software->add ...Enter Name,location in the pop-up box; click-"OK"In this step, check all the options under Name, click Next to install, and then restart eclipse after installing.After reboot, make a simple configurationClick Windows->preferences, Team---git->configuration appearsClick Add Entry ... Enter key valueKey, name f
Create a Git repository under the Windows git Bash command line and update it to github, gitgithub
When I was in my sophomore year, I heard the teacher say that there was a version management tool called git. At that time, I only listened to the teacher and didn't use it be
First, install Git on eclipse, just like installing other pluginsHelp->install New Software->add ...Enter Name,location in the pop-up box; click-"OK"In this step, check all the options under Name, click Next to install, and then restart eclipse after installing.After reboot, make a simple configurationClick Windows->preferences, Team---git->configuration appearsClick Add Entry ... Enter key valueKey, name f
Experiment Description
This section of the experiment is the first experiment for getting started with git, which helps you become familiar with how to create and use a git repository.
The initialization of GitBefore we use Git for code management, we start by
Git repository server configuration;Two different ways:Mode one: Using the GIT protocol, create a git repository server, can only download, not upload;Mode two: the use of HTTP or HTTPS protocol, install httpd1.6.6 above version o
What is a repository? Repository also known as the Warehouse, English name repository, you can easily understand a directory, all the files in this directory can be managed by git, each file modification, deletion, git can track, so that any time can track history, Or you ca
What is a repository? Repository also known as the Warehouse, English name repository, you can easily understand a directory, all the files in this directory can be managed by git, each file modification, deletion, git can track, so that any time can track history, Or you ca
What is a repository?Repository also known as the Warehouse, English name repository, you can easily understand a directory, all the files in this directory can be managed by git, each file modification, deletion, git can track, so that any time can track history, Or you can
BKJIA Editor's note: This is the third article translated by the translator LIU Hui on the series of articles "Git Community Book". This article uses the "ding Jie niu" method to introduce how to add a project to version management. If you are not clear about how to download, install, and configure Git, refer to the Git adventures (2): install and configure
First, create a git warehouse
1. Login to GitHub account
Https://github.com
2, click on the top right corner "+", select "New Repository", as shown:
3, operation as shown:
4, enter the following interface:
5, new Xcode project, open the terminal, CD to the project root directory, and then execute the followin
The following is a simple procedure for building a Git repository on a server.Installing the Git ProgramGit is distributed, that is, the program does not differentiate between the server and the client, and most of the official sources of Linux distributions have it, such as installing Git in ArchLinux:$ sudo pacman-s
What is a repository? Repository also known as the Warehouse, English name repository, you can easily understand a directory, all the files in this directory can be managed by git, each file modification, deletion, git can track, so that any time can track history, Or you ca
I have applied for a git account for a long time, but it has never been used. Today I tried several commands.
I found that it is very important to understand the principle. I used SVN before and did not know the principle of git. Therefore, I am very confused about the command description.
If someone is the same as me, it is strongly recommended that you refer to [1], which briefly explains the meaning of
1. Create a warehouse named Git-repositionmkdir home/sunjf/git-repositionNote: HOME/SUNJF can be specified as the path you want below2. Initialize the WarehouseCD ~/git-reposition//Enter the warehouse directoryGIT init//Initialize RepositoryAt this point, the. git file will
After the server is installed after git1. Execute git init aa.git--bare in the Repositories Warehouse folder to create a central library of AA (note that the current logged-on user must be a user of git when establishing the AA repository and ensure that/data/repositories/ Aa.git file has Write permission)2. Execute
InstallationSince I'm using Ubuntu, it's easy to install, input:sudo apt-get install gitIf it is a different Linux version, you can install it directly from the source. First download the source code from the GIT official website, then unzip ./config , make then sudo make install Enter:, these several commands to install just fine.As for Mac and Windows install git, in Liaoche's official website has the d
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.