mac的github客户端下载地址:desktop.github.com
出现的问题:
- mac默认不显示隐藏的文件夹及文件(如.git)
- github客户端push会带上.DS_Store文件
- github客户端合并分支代码的步骤
1,显示隐藏的的文件及文件夹
- 打开系统软件Automator(自动操作),选取“服务”,将“实用工具”→“运行Shell脚本”拖到右面的空白处,输入如下代码:
STATUS=`defaults read com.apple.finder AppleShowAllFiles`
if [ $STATUS == YES ];
then
defaults write com.apple.finder AppleShowAllFiles NO
else
defaults write com.apple.finder AppleShowAllFiles YES
fi
killall Finder