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)