Ryan Betker - healthNCode Ryan Betker - healthNCode - 1 year ago 90
Git Question

Using visual studio 2015, how to Commit only one file?

What I've tried:
I don't recall to have an issue when in vs2013. When in vs2015, I've tried the context menu inside one code file or right clicking just that file from Solution Explorer, yet it includes all changed files.

I've also tried filtering and that doesn't help narrow down the checkin, heh.

Answer Source
View->Other windows->Pending Changes

Then exclude whichever file you do not want to commit.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download