Interface GitRemote
public interface GitRemote
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
add
- Parameters:
name- the name to assign the new remoteurl- a repository path, which will be used as the new remote's URL- Returns:
- a builder to add a new remote
- Since:
- 6.4
-
add
-
add
@Nonnull GitRemoteAddBuilder add(@Nonnull String name, @Nonnull com.atlassian.bitbucket.repository.Repository repository) - Parameters:
name- the name to assign the new remoterepository- the repository of the new remote- Returns:
- a builder to add a new remote
- Since:
- 7.11
-
rm
-
setUrl
- Parameters:
name- the name of an existing remotenewUrl- the new URL to set for the existing remote- Returns:
- a builder to set the URL for an existing remote
- Since:
- 6.4
-
setUrl
-