6.gitbash Synchronous vs Engineering

Source: Internet
Author: User

TIP: using the VS plug-in git Extensions + git Source Control provider can be done using a graphical interface, actually, as with the command line,

Here the main use of the command line to start, personally think Git Extensions

+ Git Source Control provider These two plug-ins use the command line is also necessary to install, so you can clearly see in VS inside the project file synchronization

There's a plus sign in front of the file+: It is not added to the repository, there is a lock is added to the repository (Add,commit)

After adding the repository, if you make a change to save, there will be a√
(In fact, the direct git status can be seen with the command line.)
I have modified resource.h ...
  1. In vs a project directory, git inside
    Open Calculator This project,
  2. Git init library in git:

    Then go to VS and look inside

    It can also be in VS
  3. The status then looks at the

    Equivalent to the "browse" in the VS plugin--submit--
  4. Below git add file1 file2 ... corresponding gitextension loading
    git commit-m xxxx; corresponding gitextension submission
  5. If you have modified who in VS, in Git bash, use git status to view OK, then add commit;
  6. if syncing to GitHub ... 3. Play Gitbash gitshell  
    add remote repository   git remote add origin  [email protected]:p ath/repo-name.git   git push-u Origin master   Git push origin master 

    Go to GitHub to create a warehouse, then have SSH and HTTPS to choose from, and then go to
    Span style= "font-family: ' Helvetica Neue ', Helvetica, Arial, Sans-serif;" > to associate a remote library

  7. To the local is also with 3. Topsy Gitbash Gitshell
    From the remote clone library to the local git clone [email protected]:feng1o/xxxx. Git
    You can also clone directly using the HTTP protocol

    Go to GitHub to create a library, the remote library is ready, and the next step is to git clone clone a local library with a command: (he will clone it into the folder you are currently opening without creating the library locally)

    $ git clone [email protected]:michaelliao/gitskills.gitCloning into ‘gitskills‘...remote:Countingobjects:3, done.remote:Total3 (delta 0), reused 0 (delta 0)Receivingobjects:100% (3/3), done.$ cd gitskills$ lsREADME.md

Specific pictures See: Http://note.youdao.com/share/?id=8dedf270acc328828cd83646971af6e6&type=note

6.gitbash Synchronous vs Engineering

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.