forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSubmoduleUpdate.cs
More file actions
29 lines (29 loc) · 838 Bytes
/
SubmoduleUpdate.cs
File metadata and controls
29 lines (29 loc) · 838 Bytes
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
namespace LibGit2Sharp
{
/// <summary>
/// Submodule update rule options.
/// </summary>
public enum SubmoduleUpdate
{
/// <summary>
/// Reset to the last saved update rule.
/// </summary>
Default = -1,
/// <summary>
/// Checkout the commit recorded in the superproject.
/// </summary>
Checkout = 0,
/// <summary>
/// Rebase the current branch of the submodule onto the commit recorded in the superproject.
/// </summary>
Rebase = 1,
/// <summary>
/// Merge the commit recorded in the superproject into the current branch of the submodule.
/// </summary>
Merge = 2,
/// <summary>
/// Do not update the submodule.
/// </summary>
None = 3,
}
}