I am learning how to use git and i am wondering what becomes of the files fetched before a git fetch command is interrupted by power failure or connectivity problems.Will the files fetched before the interruption be copied to my computer?.
Share
A
git fetchwill transfer objects from the remote repository. To maintain Git’s integrity, only complete objects are ever written to the local repository. So if a fetch is interrupted, you will end up with parts of the objects, meaning the fetch wasn’t completed, but no single object will be corrupt. On a subsequent fetch, Git will then again calculate which objects are missing and get those.