I want to keep a separate work space for my development job.I moved .git file from my home directory to another directory named 'workspace'. Now when I use git init
in workspace
directory, everything works just fine but when I use git init
inside my home directory, it re-creates the .git
file in my home directory.
I am using Ubuntu and my home directory is home/tyler
.This is where .git
file is stored my default.
My directory structure is: home/tyler home/workspace