Sep.Git.Tfs.Core.GitTfsRemote.Checkin C# (CSharp) Method

Checkin() public method

public Checkin ( string head, TfsChangesetInfo parentChangeset, CheckinOptions options, string sourceTfsPath = null ) : int
head string
parentChangeset TfsChangesetInfo
options Sep.Git.Tfs.Commands.CheckinOptions
sourceTfsPath string
return int
        public int Checkin(string head, TfsChangesetInfo parentChangeset, CheckinOptions options, string sourceTfsPath = null)
        {
            var changeset = 0;
            WithWorkspace(parentChangeset, workspace => changeset = Checkin(head, parentChangeset.GitCommit, workspace, options, sourceTfsPath));
            return changeset;
        }

Same methods

GitTfsRemote::Checkin ( string head, string parent, ITfsWorkspace workspace, CheckinOptions options, string sourceTfsPath ) : int
GitTfsRemote::Checkin ( string head, string parent, TfsChangesetInfo parentChangeset, CheckinOptions options, string sourceTfsPath = null ) : int