forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ResetOptions.cs
26 lines (24 loc) · 870 Bytes
/
ResetOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
namespace LibGit2Sharp
{
/// <summary>
/// Specifies the kind of operation that <see cref="IRepository.Reset(LibGit2Sharp.ResetOptions, Commit)"/> should perform.
/// </summary>
public enum ResetOptions
{
/// <summary>
/// Moves the branch pointed to by HEAD to the specified commit object.
/// </summary>
Soft = 1,
/// <summary>
/// Moves the branch pointed to by HEAD to the specified commit object and resets the index
/// to the tree recorded by the commit.
/// </summary>
Mixed,
/// <summary>
/// Moves the branch pointed to by HEAD to the specified commit object, resets the index
/// to the tree recorded by the commit and updates the working directory to match the content
/// of the index.
/// </summary>
Hard,
}
}