Reuse .git directory.
I would like work 4 different branch simultaneously viz.
master, feature, bugfix, expt but would like to use same same GIT_DIR. Is this possible ? so that I can save some space ?
I have tried following * git clone /path/to/repos * export GIT_DIR=/path/to/repos/.git * mkdir ~/feature * git checkout -b feature master
This step misses the files. Please advise me if such an approach is correct ?
Thx
Mahesh