赞
踩
Admin@LAPTOP-CQKSUP6R MINGW64 /d/open_source/Interview
$ git add ./
fatal: unsafe repository ('D:/open_source/Interview' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory D:/open_source/Interview
Set the environment variable GIT_TEST_DEBUG_UNSAFE_DIRECTORIES=true and run
Administrator@LAPTOP-CQKSUP6R MINGW64 /d/open_source/Interview
$ git config --global --add safe.directory D:\open_source\Interview
Administrator@LAPTOP-CQKSUP6R MINGW64 /d/open_source/Interview $ git config --list diff.astextplain.textconv=astextplain filter.lfs.clean=git-lfs clean -- %f filter.lfs.smudge=git-lfs smudge -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true http.sslbackend=openssl http.sslcainfo=D:/devtools/Git/mingw64/ssl/certs/ca-bundle.crt core.autocrlf=true core.fscache=true core.symlinks=false pull.rebase=false credential.helper=manager-core credential.https://dev.azure.com.usehttppath=true init.defaultbranch=master user.email=haha@chain.com user.name=haha safe.directory=D:open_sourceInterview
Administrator@LAPTOP-CQKSUP6R MINGW64 /d/open_source/Interview
$ git clone https://gitee.com/mrxlh/interview.git --recursive
Cloning into 'interview'...
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 89 (delta 1), reused 0 (delta 0), pack-reused 84
Receiving objects: 100% (89/89), 235.59 MiB | 461.00 KiB/s, done.
Resolving deltas: 100% (31/31), done.
Updating files: 100% (58/58), done.
Administrator@LAPTOP-CQKSUP6R MINGW64 /d/open_source/Interview (master) $ git add . warning: adding embedded git repository: interview hint: You've added another git repository inside your current repository. hint: Clones of the outer repository will not contain the contents of hint: the embedded repository and will not know how to obtain it. hint: If you meant to add a submodule, use: hint: hint: git submodule add <url> interview hint: hint: If you added this path by mistake, you can remove it from the hint: index with: hint: hint: git rm --cached interview hint: hint: See "git help submodule" for more information. Administrator@LAPTOP-CQKSUP6R MINGW64 /d/open_source/Interview (master) $ git push Everything up-to-date
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。