Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to do a partial checkin in TFS?

Tags:

I have a file that has two independent modifications. I would only like to commit one of them.

Is there any way to only check in part of a file (without me modifying or shelving/unshelving it)?

Essentially, create a temp file on commit that then gets checked in instead of the file on disk?

like image 225
Michael Stum Avatar asked May 16 '11 18:05

Michael Stum


People also ask

Can we undo checkin in TFS?

Hi, You can do "tfpt rollback" which will pend the necessary changes. If you want the rollback to be committed by a different service/person than the service/person who runs tfpt, have it/them shelve the changes first.


Video Answer


1 Answers

No, the only way is to shelve what changes you have, revert back or the previous version and apply the changes that you want to commit. After committing them, revert back to the shelved version.

like image 129
Leons Avatar answered Sep 17 '22 20:09

Leons