We have a project which was built using TFS as the source control. This has now been placed on GitHub.
We've also added a gh-pages branch on GitHub for the documentation.
However, we don't want the documentation files to clutter the main working directory.
How can I configure the local directory for gh-pages to be in a different location?
I've tried using git-new-workdir
as found here, but Powershell told me
repository 'git@github.com/git/git.git' does not exist
I then tried cloning the Powershell script found here in place of the missing script from the previous example, but then I get the error message
[script path] not valid: is this a git repository?
Can someone please explain (in novice terms) how to map a branch to a different local directory?
[And for clarification, the local system is Windows, so available tools are GitHub for Windows and Powershell.]