指令

作者: CarrySniper | 来源:发表于2017-08-31 17:08 被阅读0次

Mac显示隐藏系统文件

显示:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false

全局修改git的用户名和邮箱

git config --global user.name "cjq002"
git config --global user.email 692771080@qq.com

提交数据到GitHub

初次提交数据,需要有git信息,如果提交过则省略。克隆仓库数据到本地:git clone +地址,如:git clone https://github.com/xxx.git

1.添加添加目录下所有文件,“.”前有个空格;
2.推送修改到本地库,后面写的是描述信息;
3.提交到远程。

git add .
git commit -m "描述信息" 
git push origin master

Mac 安全性与隐私,显示“任何来源”项

sudo spctl --master-disable

相关文章

网友评论

      本文标题:指令

      本文链接:https://www.haomeiwen.com/subject/oqvedxtx.html