Skip to content

Commit f8a1292

Browse files
committed
Add API method for git pull
1 parent 99d38e6 commit f8a1292

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cls/SourceControl/Git/API.cls

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ ClassMethod Configure()
3333
}
3434
}
3535

36+
/// API for git pull - just wraps Utils
37+
ClassMethod Pull()
38+
{
39+
quit ##class(SourceControl.Git.API).Pull()
40+
}
41+
3642
/// Locks the environment to prevent changes to code other than through git pull.
3743
/// Returns 1 if the environment was already locked, 0 if it was previously unlocked.
3844
ClassMethod Lock()

0 commit comments

Comments
 (0)