Thanks for your reply Konstantin. I did what you said and it worked as I wanted. Now I can switch between the branchs when necessary.
I just have one more question: whenever I have to checkout between branchs, I have to input the commands that you showed me. Is there any way to automate this process? $ export GIT_WORK_TREE=/path/to/that/directory $ export GIT_DIR=/path/to/your/bare/repo $ cd $GIT_WORK_TREE $ git checkout experiment For example: After logging on the server and go to the directory of my bare repository, I can just checkout the branch without having to inform the WORK_TREE on each process? $ git checkout experiment -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
