Exception: Dotbot::GitError

Inherits:
DotbotError show all
Defined in:
lib/dotbot/errors.rb

Instance Method Summary collapse

Methods inherited from DotbotError

#initialize

Constructor Details

This class inherits a constructor from Dotbot::DotbotError

Instance Method Details

#help_text(message = nil) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/dotbot/errors.rb', line 42

def help_text(message=nil)
  <<~HEREDOC
    💀  Git experienced an issue  💀
    ----------------------------

    For some reason git was unable to complete the '#{message}' operation.
    Make sure your configured Dotbot directory is a git repo that has
    a remote configured.  Make sure you can git push and git pull from
    that directory before running '#{message}' again.
  
  HEREDOC
end