Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 450 Bytes

File metadata and controls

8 lines (8 loc) · 450 Bytes

Exclude file TestClass.cs from cleaning

git clean -dfX --exclude="!TestClass.cs"

Reverting particular files to particular commit/revision

git checkout <commit hash> -- file/to/restore anotherfile/to/restore