Git learning Notes (iv)

Source: Internet
Author: User

I. Ignoring SPECIAL documents

Create a special file in the root of the Git workspace .gitignore , and then fill in the file name you want to ignore, and git will automatically ignore the files.

There is no need to write from scratch. gitignore file, GitHub has prepared a variety of configuration files for us, just a combination to use. All profiles can be viewed directly online: Https://github.com/github/gitignore

The. gitignore file itself is put into the repository and can be versioned for. Gitignore!

Second, the configuration alias

$ git config--global alias. Alias real command//plus--global is for the current user, if not, it only works for the current warehouse

Third, about in the Msysgit operation selection, copy, paste (click on the title bar in the upper left corner of the icon pop-up menu, the Edit menu contains all the editing operations)

Iv. Building a git server

1. See: Build a git server under Linux

2. See: Build an SSH-based git server under Windows

Git Learning Notes series articles directory:

Git learning notes (i)

Git learning notes (ii)

Git learning Notes (iii)

Git learning Notes (iv)

Related Article

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.