简体   繁体   中英

visual studio 2013 git clone puts project files in wrong folder

I am using Visual Studio 2013 Pro. I set the default repository location to a folder on my development drive, which is I: on my system. I then cloned a repo from GIthub. A folder with the project name was created in the repos folder on I, but the only item in it is the .git folder. All of the project folders and files were written to the C: drive at the root. I am new to git, but in my searches everything I have found suggests I did this properly and I cannot find anyone else having this issue. If anyone has ideas to find what might be happening here I would sure appreciate it.

THanks, Rob M.

Hi Rob have you signed into github from git bash, sounds like you have not pushed to your git repository. Try :git push -am origin master if all else fails have a look at the basics of git hub again here is a link that helped me. visit: http://readwrite.com/2013/09/30/understanding-github-a-journey-for-beginners-part-1 .

Hope this helps!!!!

Thought I should come back to this. I finally found that .gitconfig in C:\\Users had an entry setting the WORKTREE to \\ , this was overiding undefined WORKTREEs in any project I cloned and writng the trunk to C:.

Thanks!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM