public class GitHelpers extends Object
Constructor and Description |
---|
GitHelpers() |
Modifier and Type | Method and Description |
---|---|
static String |
extractGitUrl(File basedir)
Returns the remote git URL for the given folder; looking for the .git/config file in the current directory or a parent directory
|
static String |
extractGitUrl(String configText)
Returns the remote git URL for the given git config file text lets extract the
|
public static String extractGitUrl(File basedir) throws IOException
IOException
Copyright © 2011–2015 Red Hat. All rights reserved.