之前格式化为了ntfs格式,每次机器重启都需要进行如下操作,才能在git拉code时不出问题。
diskutil info /Volumes/mybook
hdiutil eject /Volumes/mybook
mkdir /Volumes/kvbook
sudo mount_ntfs -o rw,nobrowse /dev/disk1s1 /Volumes/kvbook
这样好麻烦,然后一段时间后git pull也出问题了:
error: unable to open object pack directory: .git/objects/pack: Input/output error
error: refs/remotes/origin/sec_ns does not point to a valid object!
error: unable to open object pack directory: .git/objects/pack: Input/output error
error: refs/remotes/origin/sec_nt does not point to a valid object!