国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

求助:git 推送時(shí)怎樣忽略掉 .gitignore
巴扎黑
巴扎黑 2017-05-02 09:19:26
0
2
857

推送時(shí)讓項(xiàng)目里所有的.gitigonre文件都不起作用,有這個(gè)命令嗎??

巴扎黑
巴扎黑

reply all(2)
洪濤

The .gitignore file should be in your repository, so it should indeed be added and committed in, as git status suggests. It has to be a part of the repository tree, so that changes to it can be merged and so on.

So, add it to your repository, it should not be gitignored.

If you really want you can add .gitignore to the .gitignore file if you don't want it to be committed. However, in that case it's probably better to add the ignores to .git/info/exclude, a special checkout-local file that works just like .gitignore but does not show up in "git status" since it's in the .git folder.

See also https://help.github.com/articles/ignoring-files

注 以下文字信息來自于 http://stackoverflow.com/questions/767147/ignore-the-gitignore-file-it... August的回答.

漂亮男人

Just add it to .gitigonre itself,

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template