Git can work correctly.
But when you opne Visual Studio. VS alert just support one version control at same
time.
Below is my way:
Below is my way:
- On Windows and use Git Bash.
- Your source folder already connect to TFS.
- Example: /temp/source1/
- Source folder connect to new local GIT. (separate .git to another folder)
- git init --separate-git-dir ../source1_git_repo
- Now can see two folders in /temp/
- /temp/source1/
- /temp/source1_git_repo
- Check .git just a folder path:
- cat .git
- gitdir: C:/Users/YouName/AppData/Local/Temp/test/source_git_repo
- Currently Git is work.
- How to use TFS for now? Just rename .git
- mv .git to .gitrepo (rename)
沒有留言:
張貼留言