Sha256: f149df0bd7f28317bab7d8714519e89c4775e297e720c705df77f920ce6b55b4
Contents?: true
Size: 217 Bytes
Versions: 7
Compression:
Stored size: 217 Bytes
Contents
class Push < Array def update if(File.exists?('.git') && `git config --list`.include?('user.name=')) add 'git config --global push.default simple' self << 'git push' if Git.branch != 'develop' end end end
Version data entries
7 entries across 7 versions & 1 rubygems