-
Notifications
You must be signed in to change notification settings - Fork 892
/
Copy pathSubmoduleUpdate.cs
34 lines (34 loc) · 1009 Bytes
/
SubmoduleUpdate.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
27
28
29
30
31
32
33
34
namespace LibGit2Sharp
{
/// <summary>
/// Submodule update rule options.
/// </summary>
public enum SubmoduleUpdate
{
/// <summary>
/// Reset to the last saved update rule.
/// </summary>
Reset = -1,
/// <summary>
/// Only used when you don't want to specify any particular update
/// rule.
/// </summary>
Unspecified = 0,
/// <summary>
/// This is the default - checkout the commit recorded in the superproject.
/// </summary>
Checkout = 1,
/// <summary>
/// Rebase the current branch of the submodule onto the commit recorded in the superproject.
/// </summary>
Rebase = 2,
/// <summary>
/// Merge the commit recorded in the superproject into the current branch of the submodule.
/// </summary>
Merge = 3,
/// <summary>
/// Do not update the submodule.
/// </summary>
None = 4,
}
}