How to point gitbox/git to different local directory

546 Views Asked by At

Hi guys I have a remote repository cloned locally, Because my new changes have saved it to a different directory (workspaces in eclipse) I want to point git to the workspace directory rather than the other directory, how do I do this? Gitbox doesn't seem to have any options, and I can't see the .git folder

1

There are 1 best solutions below

0
On BEST ANSWER

In your WORKSPACE do

git init

and then from where you pulled your copy initially. Do

git pull /path/to/your/workspace/project/dir