/// <inheritdoc/> public void Backup(LockedFile file) { if (file is null) { throw new ArgumentNullException(nameof(file)); } file.Close(); _ = Git.StageAndCommit(file.File, allowEmptyCommit: false); }
/// <inheritdoc/> public void Backup(LockedFile file) { file.Close(); Git.StageAndCommit(file.File, allowEmptyCommit: false); }