136 <td>Public method to pull a head of a bundle file into the local repository and working area.</td> |
136 <td>Public method to pull a head of a bundle file into the local repository and working area.</td> |
137 </tr><tr> |
137 </tr><tr> |
138 <td><a href="#Git.gitCancelMerge">gitCancelMerge</a></td> |
138 <td><a href="#Git.gitCancelMerge">gitCancelMerge</a></td> |
139 <td>Public method to cancel an uncommitted or failed merge.</td> |
139 <td>Public method to cancel an uncommitted or failed merge.</td> |
140 </tr><tr> |
140 </tr><tr> |
|
141 <td><a href="#Git.gitChangeRemoteCredentials">gitChangeRemoteCredentials</a></td> |
|
142 <td>Public method to change the user credentials of a remote repository.</td> |
|
143 </tr><tr> |
|
144 <td><a href="#Git.gitChangeRemoteUrl">gitChangeRemoteUrl</a></td> |
|
145 <td>Public method to change the URL of a remote repository.</td> |
|
146 </tr><tr> |
141 <td><a href="#Git.gitCherryPick">gitCherryPick</a></td> |
147 <td><a href="#Git.gitCherryPick">gitCherryPick</a></td> |
142 <td>Public method to cherry pick commits and apply them to the current branch.</td> |
148 <td>Public method to cherry pick commits and apply them to the current branch.</td> |
143 </tr><tr> |
149 </tr><tr> |
144 <td><a href="#Git.gitCherryPickAbort">gitCherryPickAbort</a></td> |
150 <td><a href="#Git.gitCherryPickAbort">gitCherryPickAbort</a></td> |
145 <td>Public method to cancel the last copying session and return to the previous state.</td> |
151 <td>Public method to cancel the last copying session and return to the previous state.</td> |
192 <td><a href="#Git.gitGetCurrentBranch">gitGetCurrentBranch</a></td> |
198 <td><a href="#Git.gitGetCurrentBranch">gitGetCurrentBranch</a></td> |
193 <td>Public method used to show the current branch of the working directory.</td> |
199 <td>Public method used to show the current branch of the working directory.</td> |
194 </tr><tr> |
200 </tr><tr> |
195 <td><a href="#Git.gitGetRemoteBranchesList">gitGetRemoteBranchesList</a></td> |
201 <td><a href="#Git.gitGetRemoteBranchesList">gitGetRemoteBranchesList</a></td> |
196 <td>Public method to get the list of a remote repository branches.</td> |
202 <td>Public method to get the list of a remote repository branches.</td> |
|
203 </tr><tr> |
|
204 <td><a href="#Git.gitGetRemoteUrl">gitGetRemoteUrl</a></td> |
|
205 <td>Public method to get the URL of a remote repository.</td> |
197 </tr><tr> |
206 </tr><tr> |
198 <td><a href="#Git.gitGetRemoteUrlsList">gitGetRemoteUrlsList</a></td> |
207 <td><a href="#Git.gitGetRemoteUrlsList">gitGetRemoteUrlsList</a></td> |
199 <td>Public method to get the list of remote repos and their URLs.</td> |
208 <td>Public method to get the list of remote repos and their URLs.</td> |
200 </tr><tr> |
209 </tr><tr> |
201 <td><a href="#Git.gitGetRemotesList">gitGetRemotesList</a></td> |
210 <td><a href="#Git.gitGetRemotesList">gitGetRemotesList</a></td> |
791 <dt>Returns:</dt> |
800 <dt>Returns:</dt> |
792 <dd> |
801 <dd> |
793 flag indicating, that the cancellation contained an add |
802 flag indicating, that the cancellation contained an add |
794 or delete (boolean) |
803 or delete (boolean) |
795 </dd> |
804 </dd> |
|
805 </dl><a NAME="Git.gitChangeRemoteCredentials" ID="Git.gitChangeRemoteCredentials"></a> |
|
806 <h4>Git.gitChangeRemoteCredentials</h4> |
|
807 <b>gitChangeRemoteCredentials</b>(<i>projectDir, remoteName, remoteUrl=""</i>) |
|
808 <p> |
|
809 Public method to change the user credentials of a remote repository. |
|
810 </p><dl> |
|
811 <dt><i>projectDir</i> (str)</dt> |
|
812 <dd> |
|
813 name of the project directory |
|
814 </dd><dt><i>remoteName</i> (str)</dt> |
|
815 <dd> |
|
816 name of the remote repository |
|
817 </dd><dt><i>remoteUrl</i> (str)</dt> |
|
818 <dd> |
|
819 URL of the remote repository |
|
820 </dd> |
|
821 </dl><a NAME="Git.gitChangeRemoteUrl" ID="Git.gitChangeRemoteUrl"></a> |
|
822 <h4>Git.gitChangeRemoteUrl</h4> |
|
823 <b>gitChangeRemoteUrl</b>(<i>projectDir, remoteName, remoteUrl=""</i>) |
|
824 <p> |
|
825 Public method to change the URL of a remote repository. |
|
826 </p><dl> |
|
827 <dt><i>projectDir</i> (str)</dt> |
|
828 <dd> |
|
829 name of the project directory |
|
830 </dd><dt><i>remoteName</i> (str)</dt> |
|
831 <dd> |
|
832 name of the remote repository |
|
833 </dd><dt><i>remoteUrl</i> (str)</dt> |
|
834 <dd> |
|
835 URL of the remote repository |
|
836 </dd> |
796 </dl><a NAME="Git.gitCherryPick" ID="Git.gitCherryPick"></a> |
837 </dl><a NAME="Git.gitCherryPick" ID="Git.gitCherryPick"></a> |
797 <h4>Git.gitCherryPick</h4> |
838 <h4>Git.gitCherryPick</h4> |
798 <b>gitCherryPick</b>(<i>projectDir, commits=None</i>) |
839 <b>gitCherryPick</b>(<i>projectDir, commits=None</i>) |
799 <p> |
840 <p> |
800 Public method to cherry pick commits and apply them to the current |
841 Public method to cherry pick commits and apply them to the current |
1070 </dl><dl> |
1111 </dl><dl> |
1071 <dt>Returns:</dt> |
1112 <dt>Returns:</dt> |
1072 <dd> |
1113 <dd> |
1073 list of remote repository branches (list of string) |
1114 list of remote repository branches (list of string) |
1074 </dd> |
1115 </dd> |
|
1116 </dl><a NAME="Git.gitGetRemoteUrl" ID="Git.gitGetRemoteUrl"></a> |
|
1117 <h4>Git.gitGetRemoteUrl</h4> |
|
1118 <b>gitGetRemoteUrl</b>(<i>repodir, remoteName</i>) |
|
1119 <p> |
|
1120 Public method to get the URL of a remote repository. |
|
1121 </p><dl> |
|
1122 <dt><i>repodir</i> (str)</dt> |
|
1123 <dd> |
|
1124 directory name of the repository |
|
1125 </dd><dt><i>remoteName</i> (str)</dt> |
|
1126 <dd> |
|
1127 name of the remote repository |
|
1128 </dd> |
|
1129 </dl><dl> |
|
1130 <dt>Returns:</dt> |
|
1131 <dd> |
|
1132 URL of the remote repository |
|
1133 </dd> |
|
1134 </dl><dl> |
|
1135 <dt>Return Type:</dt> |
|
1136 <dd> |
|
1137 str |
|
1138 </dd> |
1075 </dl><a NAME="Git.gitGetRemoteUrlsList" ID="Git.gitGetRemoteUrlsList"></a> |
1139 </dl><a NAME="Git.gitGetRemoteUrlsList" ID="Git.gitGetRemoteUrlsList"></a> |
1076 <h4>Git.gitGetRemoteUrlsList</h4> |
1140 <h4>Git.gitGetRemoteUrlsList</h4> |
1077 <b>gitGetRemoteUrlsList</b>(<i>repodir, forFetch=True</i>) |
1141 <b>gitGetRemoteUrlsList</b>(<i>repodir, forFetch=True</i>) |
1078 <p> |
1142 <p> |
1079 Public method to get the list of remote repos and their URLs. |
1143 Public method to get the list of remote repos and their URLs. |