github相关问题

一、项目编译打包后生成的dist文件夹后;项目提交到github上dist文件提交不上去。

  在.gitignore文件,删除一行

       

 

二、更改github的语言属性

.gitattributes文件:若项目是Vue属性

*.js linguist-language=Vue
*.css linguist-language=Vue
*.html linguist-language=Vue

 

三、为本机github绑定用户

打开git Bash 命令行,输入命令(用户和邮箱为你github注册的账号和邮箱)

git config --global user.name "用户名"
git config --global user.email "邮箱"

 

posted @ 2017-11-22 22:37  ccyinghua  阅读(219)  评论(0编辑  收藏  举报