--- a/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.git.html Sun Jun 03 11:30:57 2018 +0200 +++ b/Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.git.html Sun Jun 03 14:03:19 2018 +0200 @@ -138,6 +138,12 @@ <td><a href="#Git.gitCancelMerge">gitCancelMerge</a></td> <td>Public method to cancel an uncommitted or failed merge.</td> </tr><tr> +<td><a href="#Git.gitChangeRemoteCredentials">gitChangeRemoteCredentials</a></td> +<td>Public method to change the user credentials of a remote repository.</td> +</tr><tr> +<td><a href="#Git.gitChangeRemoteUrl">gitChangeRemoteUrl</a></td> +<td>Public method to change the URL of a remote repository.</td> +</tr><tr> <td><a href="#Git.gitCherryPick">gitCherryPick</a></td> <td>Public method to cherry pick commits and apply them to the current branch.</td> </tr><tr> @@ -195,6 +201,9 @@ <td><a href="#Git.gitGetRemoteBranchesList">gitGetRemoteBranchesList</a></td> <td>Public method to get the list of a remote repository branches.</td> </tr><tr> +<td><a href="#Git.gitGetRemoteUrl">gitGetRemoteUrl</a></td> +<td>Public method to get the URL of a remote repository.</td> +</tr><tr> <td><a href="#Git.gitGetRemoteUrlsList">gitGetRemoteUrlsList</a></td> <td>Public method to get the list of remote repos and their URLs.</td> </tr><tr> @@ -793,6 +802,38 @@ flag indicating, that the cancellation contained an add or delete (boolean) </dd> +</dl><a NAME="Git.gitChangeRemoteCredentials" ID="Git.gitChangeRemoteCredentials"></a> +<h4>Git.gitChangeRemoteCredentials</h4> +<b>gitChangeRemoteCredentials</b>(<i>projectDir, remoteName, remoteUrl=""</i>) +<p> + Public method to change the user credentials of a remote repository. +</p><dl> +<dt><i>projectDir</i> (str)</dt> +<dd> +name of the project directory +</dd><dt><i>remoteName</i> (str)</dt> +<dd> +name of the remote repository +</dd><dt><i>remoteUrl</i> (str)</dt> +<dd> +URL of the remote repository +</dd> +</dl><a NAME="Git.gitChangeRemoteUrl" ID="Git.gitChangeRemoteUrl"></a> +<h4>Git.gitChangeRemoteUrl</h4> +<b>gitChangeRemoteUrl</b>(<i>projectDir, remoteName, remoteUrl=""</i>) +<p> + Public method to change the URL of a remote repository. +</p><dl> +<dt><i>projectDir</i> (str)</dt> +<dd> +name of the project directory +</dd><dt><i>remoteName</i> (str)</dt> +<dd> +name of the remote repository +</dd><dt><i>remoteUrl</i> (str)</dt> +<dd> +URL of the remote repository +</dd> </dl><a NAME="Git.gitCherryPick" ID="Git.gitCherryPick"></a> <h4>Git.gitCherryPick</h4> <b>gitCherryPick</b>(<i>projectDir, commits=None</i>) @@ -1072,6 +1113,29 @@ <dd> list of remote repository branches (list of string) </dd> +</dl><a NAME="Git.gitGetRemoteUrl" ID="Git.gitGetRemoteUrl"></a> +<h4>Git.gitGetRemoteUrl</h4> +<b>gitGetRemoteUrl</b>(<i>repodir, remoteName</i>) +<p> + Public method to get the URL of a remote repository. +</p><dl> +<dt><i>repodir</i> (str)</dt> +<dd> +directory name of the repository +</dd><dt><i>remoteName</i> (str)</dt> +<dd> +name of the remote repository +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +URL of the remote repository +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> </dl><a NAME="Git.gitGetRemoteUrlsList" ID="Git.gitGetRemoteUrlsList"></a> <h4>Git.gitGetRemoteUrlsList</h4> <b>gitGetRemoteUrlsList</b>(<i>repodir, forFetch=True</i>)