Sha256: 8f2a86c1fead7aa00480a2d6fb796a837199705a7e142fb38379f36852ef4aee
Contents?: true
Size: 452 Bytes
Versions: 11
Compression:
Stored size: 452 Bytes
Contents
module SafePusher module Client class Git def amend system('git commit --amend') $CHILD_STATUS.exitstatus end def add system('git add --interactive') $CHILD_STATUS.exitstatus end def commit puts 'Enter a message for your commit:' result = STDIN.gets.chomp system("git commit -m '#{result}'") $CHILD_STATUS.exitstatus end end end end
Version data entries
11 entries across 11 versions & 1 rubygems