开发者

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:

  1. Select the appropriate file to reinclude.

  2. Go to File -> Source Control -> Uncheck 'Exclude -FileName- from Source Control'.

Greetz


  1. Go to 'Project' -> click -> 'Show All Files'
  2. Now all files are available in 'Solution Explorer'
  3. Right click on the file you want to include in
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜