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

Version Path
dev_commands-0.0.25 lib/push.rb
dev_commands-0.0.24 lib/push.rb
dev_commands-0.0.23 lib/push.rb
dev_commands-0.0.17 lib/push.rb
dev_commands-0.0.16 lib/push.rb
dev_commands-0.0.15 lib/push.rb
dev_commands-0.0.14 lib/push.rb