allow fetching remotes with 'f'

This commit is contained in:
Jesse Duffield 2019-12-07 16:20:22 +11:00
parent 033c21754b
commit 3f4613feb0
4 changed files with 33 additions and 0 deletions

View file

@ -1109,3 +1109,7 @@ func (c *GitCommand) DeleteTag(tagName string) error {
func (c *GitCommand) PushTag(remoteName string, tagName string) error {
return c.OSCommand.RunCommand("git push %s %s", remoteName, tagName)
}
func (c *GitCommand) FetchRemote(remoteName string) error {
return c.OSCommand.RunCommand("git fetch %s", remoteName)
}