git commands - what does this mean?

Reprinted from the git commands - what does this mean?

git command --What does it mean?

See command git checkout -- files

I do not know --what the representative. Checked, --it is linux stuff, used to mark the end of the command entry. Meaning a little escape.

For example:

git checkout master

The above command, master might be a branch may also be a file. Priority will be understood as a branch. If you want to branch out and a file of the same name, you must use the following form:

git checkout -- master

reference:

http://marklodato.github.io/visual-git-guide/index-zh-cn.html
http://stackoverflow.com/questions/13321458/meaning-of-git-checkout-double-dashes
HTTP: // unix.stackexchange.com/questions/11376/what-does-double-dash-mean-also-known-as-bare-double-dash
Git Cookbook
book.pdf
git_cheat_sheet.pdf
git_magic.pdf
GitHub-git-Cheat-Sheet .pdf
progit-zh.761.epub

Guess you like

Origin www.cnblogs.com/sogeisetsu/p/11389721.html