开发者

Why does Git choose "git --bare init xxx" to "git init --bare xxx"?

IMO --bare is an option to Git's init command so it should be git init --bare xxx.

But why Git choose "git --bare init xxx" to "git in开发者_StackOverflowit --bare xxx"?


You can pass --bare as an option to git-init, but --bare is actually also an option you can pass to git itself, causing it to treat the repository as a bare repository.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜