git shell commands

Alibabacloud.com offers a wide variety of articles about git shell commands, easily find your git shell commands information here online.

Common Git Commands

protected] git.csdn.net:~ # Upload the repository to the servermkdir robbin_site.git cd robbin_site.git git--bare init # Create a pure warehouse on the servergit remote add origin [email protected] Github.com:robbin/robbin_site.git # Set up the repository addressGit push-u Origin Master # client First CommitGit push-u origin Develop # First submits the local develop branch to the remote develop branch, and the trackgit remote Set-head Origin Master

Summarize with GIT commands under Windows

Here is a simple summary of the main commands git, easy to remember, the summary of the bad, please tolerate, thank you! Want to see detailed explanation, recommend Liao Xuefeng great God's tutorial, the address is as follows: Http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/The following references to thereadme.txt均为提交的文件1: Tell$ git

About some of the common commands in Git

Learn more about GIT's checkout commandsThe checkout command (git checkout) is one of the most commonly used commands in Git, and it is also a dangerous command.Because this command overrides the workspace. The check Out command is used as follows:Usage one: git checkout [-Q] [Usage two:

Collection of common git operation commands

Recently, I used git for version control. I found that git has many commands, so I can write down some common commands for viewing. The following content is a summary of this article, which is quite good. Let's take a look. Certificate ------------------------------------------------------------------------------------

Common git commands

protected] git.csdn.net:~ # Upload the repository to the servermkdir robbin_site.git cd robbin_site.git git--bare init # Create a pure warehouse on the servergit remote add origin [email protected] Github.com:robbin/robbin_site.git # Set up the repository addressGit push-u Origin Master # client First CommitGit push-u origin Develop # First submits the local develop branch to the remote develop branch, and the trackgit remote Set-head Origin Master

Common Git Commands

my_project.git [email protected] git.csdn.net:~ # Upload the repository to the servermkdir robbin_site.git cd robbin_site.git git--bare init # Create a pure warehouse on the servergit remote add origin [email protected] Github.com:robbin/robbin_site.git # Set up the repository addressGit push-u Origin Master # client First CommitGit push-u origin Develop # First submits the local develop branch to the remote develop branch, and the trackgit remote

git Utility Commands

1. Initialize a git repository and use the git init command.2. Add files to the Git repository in two steps: The first step, use the command git add , note, can be used repeatedly, add multiple files; The second step, using git commit the command, is done.

Common git commands

Basis# 初始化仓库git init # 从工作区添加到暂存区git add 1.c # 查看当前状态git status # 暂存区提交到仓库git commit -m ‘add 1.c‘ # 与远程仓库建立联系git remote add origin https://git.coding.net/userName/repName.git# 提交到远程分支git push -u origin master # 拷贝到本地

Common git commands

with a versioned projectScp-r my_project.git [email protected] git.csdn.net:~ # Upload the repository to the servermkdir robbin_site.git cd robbin_site.git git--bare init # Create a pure warehouse on the servergit remote add origin [email protected] Github.com:robbin/robbin_site.git # Set up the repository addressGit push-u Origin Master # client First CommitGit push-u origin Develop # First submits the local develop branch to the remote develop br

Common git commands

Git Common Operations Command collection: 1) Remote Warehouse related command checkout warehouse: $ git clone git://github.com/jquery/jquery.git view remote repository: $ git remote-v Add remote repository: $ git remotely add [ Name] [url] Delete remote repository:

Common git commands

version control system.Git is free software. Must be put inlearngitDirectory (sub-directories are also fine), because this is a git repository and it cannot be found in other places. It takes only two steps to put a file in the GIT repository than to put the elephant in the refrigerator. Step 1: use commandsgit addTell git to add the file to the repository: $

Common git commands

warehouse with a versioned projectScp-r my_project.git [email protected] git.csdn.net:~ # Upload the repository to the servermkdir robbin_site.git cd robbin_site.git git--bare init # Create a pure warehouse on the servergit remote add origin [email protected] Github.com:robbin/robbin_site.git # Set up the repository addressGit push-u Origin Master # client First CommitGit push-u origin Develop # First submits the local develop branch to the remote

Common git commands

warehouse with a versioned projectScp-r my_project.git [email protected] git.csdn.net:~ # Upload the repository to the servermkdir robbin_site.git cd robbin_site.git git--bare init # Create a pure warehouse on the servergit remote add origin [email protected] Github.com:robbin/robbin_site.git # Set up the repository addressGit push-u Origin Master # client First CommitGit push-u origin Develop # First submits the local develop branch to the remote

Git Common Commands Summary

my_project.git [email protected] git.csdn.net:~ # Upload the repository to the servermkdir robbin_site.git cd robbin_site.git git--bare init # Create a pure warehouse on the servergit remote add origin [email protected] Github.com:robbin/robbin_site.git # Set up the repository addressGit push-u Origin Master # client First CommitGit push-u origin Develop # First submits the local develop branch to the remote develop branch, and the trackgit remote

Common Git Commands

a versioned projectScp-r my_project.git [email protected] git.csdn.net:~ # Upload the repository to the servermkdir robbin_site.git cd robbin_site.git git--bare init # Create a pure warehouse on the servergit remote add origin [email protected] Github.com:robbin/robbin_site.git # Set up the repository addressGit push-u Origin Master # client First CommitGit push-u origin Develop # First submits the local develop branch to the remote develop branch,

Common git commands

a versioned projectScp-r my_project.git [email protected] git.csdn.net:~ # Upload the repository to the servermkdir robbin_site.git cd robbin_site.git git--bare init # Create a pure warehouse on the servergit remote add origin [email protected] Github.com:robbin/robbin_site.git # Set up the repository addressGit push-u Origin Master # client First CommitGit push-u origin Develop # First submits the local develop branch to the remote develop branch,

Git commands (long-term updates)

Introduction: git is a very good distributed version management system. I want to be a developer who is familiar with git, I also like git and GitHub for collaborative development ). Git commands are the GIT

Common git commands for creating, viewing, and deleting branches, creating, viewing, and deleting tags

1. Git document https://github.com/progit/progit/blob/master/zh/02-git-basics/01-chapter2.markdownhttps://github.com/progit/progit/tree/master/zhhttp://www.uml.org.cn/pzgl/201204285.asp if it is a Windows operating system, you can install a visual version controller: Turtle. In this way, you do not need to run the GIT command. Small turtle installation configurat

Some common commands about git

GitHub without:sssh-keygen -t rsa -C"[emailprotected]"14.git remote Add Origin warehouse address associated repository15.git Push Origin Master pushes all contents of the local library to the remote librarygit push origin:master keeps the local repository and empties the remote repository16.git remote-v viewing the associated remote warehouse17.

Common Git Commands

server, on Github will display the configured uploader informationgit config--global user.email "xxx"--Configure Mailboxgit config--list view configuration listConfigure Sshkey: Use this sshkey to confirm upload permissions when uploading code1. Create a local ssh:ssh-keygen-t rsa-c "Github registered Mailbox"2. Add this sshkey to Github:Copy the contents of the C:\Documents and settings\administrator\.ssh\id_rsa.pub file;Log on to Github--account Setting----Ssh-key Add ssh-key to paste the con

Total Pages: 15 1 .... 9 10 11 12 13 .... 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.