File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed
src/SshNet.BuildTools.Git Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
namespace SshNet . BuildTools . Git
7
7
{
8
+ /// <summary>
9
+ /// Commits changes in a given Git repository.
10
+ /// </summary>
8
11
public class Commit : Task
9
12
{
10
13
/// <summary>
@@ -32,6 +35,10 @@ public class Commit : Task
32
35
/// </value>
33
36
[ Output ]
34
37
public string Sha1 { get ; set ; }
38
+
39
+ /// <summary>
40
+ /// Commits changes in the specified repository.
41
+ /// </summary>
35
42
public override bool Execute ( )
36
43
{
37
44
using ( var repo = new Repository ( WorkingDirectory ) )
Original file line number Diff line number Diff line change 4
4
5
5
namespace SshNet . BuildTools . Git
6
6
{
7
+ /// <summary>
8
+ /// Pushes changes from a local Git repository to a its remote repository.
9
+ /// </summary>
7
10
public class Push : Task
8
11
{
9
12
/// <summary>
@@ -23,6 +26,9 @@ public class Push : Task
23
26
/// </value>
24
27
public ITaskItem Credentials { get ; set ; }
25
28
29
+ /// <summary>
30
+ /// Pushes changes from the specified local repository to a its remote repository.
31
+ /// </summary>
26
32
public override bool Execute ( )
27
33
{
28
34
using ( var repo = new Repository ( WorkingDirectory ) )
Original file line number Diff line number Diff line change 5
5
6
6
namespace SshNet . BuildTools . Git
7
7
{
8
+ /// <summary>
9
+ /// Promotes changes to the staging area of a given Git repository.
10
+ /// </summary>
8
11
public class Stage : Task
9
12
{
10
13
/// <summary>
@@ -16,6 +19,9 @@ public class Stage : Task
16
19
[ Required ]
17
20
public string WorkingDirectory { get ; set ; }
18
21
22
+ /// <summary>
23
+ /// Stages changes in the specified working directory.
24
+ /// </summary>
19
25
public override bool Execute ( )
20
26
{
21
27
using ( var repo = new Repository ( WorkingDirectory ) )
You can’t perform that action at this time.
0 commit comments