240 发简信
IP属地:台湾
  • git clone --depth=1后追踪远端所有分支

    git clone --depth=1 地址 git fetch --unshallow git remote set-branches ori...

  • Mac软件提示 文件已损坏 解决方式

    终端执行:sudo spctl --master-disable

  • Sourcetree跳过注册方式

    终端执行 sudo xattr -r -d com.apple.quarantine /Applications/Sourcetree.app

  • 使用git clone --depth 1 后无法获取其它分支的问题

    1、git clone --depth 1 git地址 2、git remote set-branches origin '分支名' 3、git...

  • 本地代码关联远端仓库git操作

    1、通过终端cd到要被提交项目的文件路径 cd 此处替换为自己本机项目文件路径即可 2、git初始化操作(在项目中创建.git文件) git i...