w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Can a git folder be used from a portable hard drive

The git repository is defined by the .git folder at the root.

All references inside this .git folder are purely relative, there's nothing tying it to a specific place or hardware, you can move it or copy it without any problem.

The problem you have seems to be uniquely related to ssh authorization, which is managed totally out of git. Fix your ssh problem and ensure you can do basic ssh operations like scp, then you'll probably be able to use your repo on your new laptop.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.