Alibabacloud.com offers a wide variety of articles about git clone command windows, easily find your git clone command windows information here online.
the remote repository. http: // XXXXXXXX is the remote repository address, which must be added after the address. git is linked to the GIT repository. If it is the first push, you also need to output the GIT username and password of the remote repository for verification.
7. Obtain the remote database and synchronize it with the local database (this step is req
create an empty Git repository
1 $ git init
B. Add the current directory and all its subdirectories and files
1 $ git add.
C. submit it to the local repository
1 $ git commit-m "New Project"
D. push to the remote repository (Use http protocol and enter your own url)
1 $ git
1. Configurationgit config--global user.name "your name"git config--global user.email [email protected]git config--global color.ui truegit config--global core.editor vigit config--global alias.lol "log--graph--all" set alias so that LOL is your new command.2. Basic use1. Display the current configuration informationgit config--list2. Create RepoGet it from somewh
repository association with a GitHub remote repository:$ git Remotes add origin [email protected]:githubname/or:$ git Remote add Origin HTTPS://GITHUB.COM/GITHUBNAME/Push the contents of the local library to the remote, add-u parameter, associate the local master branch with the remote Master branch, and simplify the command at a later push or pull:$
Git is a very powerful distributed version control system. It is not only suitable for managing the source code of large open source software, but also has many advantages in managing private documents and source code.
Git Common operations Commands:
1) Remote Warehouse related commands
Checkout warehouse: $ git clone
This article is mainly used to document some of the common scenarios in Git-managed projects and their corresponding commands, to make it easy for you and others to quickly query. If there is any mistake, please correct me.View the help documentation for a git command git help [com
version 'Download codeIf you want to download the code that's hosted on Git, just know the code-managed path and enter:$ git clone https://github.com/libgit2/libgit2If you want to rename the download to a local directory then enter:$ git clone https://github.com/libgit2/lib
repository association with a GitHub remote repository:$ git Remotes add origin [email protected]:githubname/or:$ git Remote add Origin HTTPS://GITHUB.COM/GITHUBNAME/Push the contents of the local library to the remote, add-u parameter, associate the local master branch with the remote Master branch, and simplify the command at a later push or pull:$
File:Delete local file: $rm file name (plus extension)Delete a repository file: $git RM file name (plus extension)Create an SSH key:$ ssh-keygen-t rsa-c "Email The first time you use Git"Git remote add origin adds GitHub address: $git Remote Add Origin address/* Use the SSH address at a later time to submit without lo
Git is a very powerful distributed version control system. It is not only suitable for managing the source code of large open source software, but also has many advantages in managing private documents and source code.Git Common operations Commands:1) Remote Warehouse related commandsCheckout warehouse: $ git clone git
One, Git common command fast-trackGit branch view all local branchesGit Status View current statusGit commit CommitGit branch-a See all the branchesGit branch-r view all remote branchesGit commit-am "Init" to submit and annotategit remote add origin [email protected]:ndshowGit push origin master pushes files to the serverGit remote show origin shows the resources in originGit push Origin Master:developGit p
may not have the public key added to this machinewarning:permanently added ' github.com,192.30.255.112 ' (RSA) to the list of known hosts.Permission denied (PublicKey).Fatal:could not read from remote repository.First, follow the steps on Baidu, the SSH password (C:\Users\ user name \.ssh\id_rsa.pub) in the password added to their own GitHub website, this can be Baidu.Running GIT push Origin master again has the error above, and then the point is:ssh
Git repository 1 $ git init B. add the current directory and all subdirectories and files 1 $ git add. c. submit to local repository 1 $ git commit-m "new project" d. push to remote repository (http protocol is used, and your own url is entered) 1 $ git remote add origin ht
Git command Quick Check form Chinese versionCreate To copy a warehouse that you have created: $ git clone ssh://[email protected]/repo.git To create a new local repository: $ git init Local modifications Show modified files under work path: $
Git Hangs while unpacking objects (Windows)OCT 2014I ' m not sure if it is because we ' re behind a proxy, the network have issues or my work laptop isn ' t great, but for some R Eason the Git clones very often hang during the unpacking of objects.done.remote: Total 21 (delta 0), reused 0 (delta 0)Unpacking objects: 100% (21/21), done.There is a-a-recover this, i
Simple Git command quick query table (Chinese Version)
Create
Copy A created warehouse:
$ git clone ssh://[emailprotected]/repo.git
Create a new local repository:
$ git init
Local Modification
Display the modified files in the working path:
$
In general, the daily use of just remember 6 commands, you can. But skilled use, I am afraid to remember 60~100 a command.Several special nouns are translated as follows.
Workspace: Work Area
Index/stage: Staging Area
Repository: Warehouse area (or local warehouse)
Remote: repository
First, create a new code base
# Create a new Git codebase in the current directory $ git
repository. For example, run git -- bare init in the/opt/git/test. Git folder.
3. Make sure that the user name you set has the permission to read and write test. Git.2.2 Client
1. Install the latest versions of msysgit and tortoisegit (both are installed by default)
2. Find an empty folder in tortoisegit and right-cli
Document directory
1. Question about Chinese Input in gitbash
2. Question about the Chinese output of the page splitter.
3 LS command to display Chinese file name garbled
# Configuration of git Chinese support environment under Win# Reference: git authoritative guide
After installing msysgit in Windows, you can'
Project development under Windows, using Git to connect to git libraries via ssh, while SSH uses public key to connect.
First you need to download the mygit and use Git bash after installation. Git bash (with GUI interface, such as tortoisegit after installation). I mainly u
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.