How do you "re-include" a file that was excluded from source control?
I excluded a file from source control a week ago, and I would like to re-include it into my VS 2010 project.
I can't find a single way to do this, I am completely stumped. I deleted the file, checked everything in, then re-added, checked that in, but I still get 开发者_运维问答the red symbol next to the file saying it is excluded from source control.
Ironically, when I right-click the file, it gives me the option to Exclude it, but not to include again.
Help!
Steps to follow:
Select the appropriate file to reinclude.
Go to File -> Source Control -> Uncheck 'Exclude -FileName- from Source Control'.
Greetz
- Go to 'Project' -> click -> 'Show All Files'
- Now all files are available in 'Solution Explorer'
- Right click on the file you want to include in
精彩评论