What happens if I migrate a local Git repository that has already been pushed?

Suppose I have a local Git repository that has already been pushed to some remote repository. What happens if I move this local repo to a different local directory?

0
git


source to share


1 answer


Absolutely nothing. The remote will still be tracked and everything will work.



You can safely move directories with git-tracked (as long as the directory .git

inside moves along with everything else)

+3


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics