Skip to content
loading...

Upload stuff on git push when branch is not master

twitter logo github logo ・1 min read  

The first rule of optimization is: When something require many steps and can be automatized, do a script.

At least in my mind this my first rule and I do a script when I do the same things to many times.

Let's see Git hooks with a real user case with code!

The post Upload stuff on git push when branch is not master appeared first on Daniele Mte90 Scasciafratte.

twitter logo DISCUSS (2)
markdown guide
 
 

Yes this is a way, my idea was to show also an user case about why you need to know that and use also the hooks :-)

Classic DEV Post from Feb 14

Which Techie Are You?

Our desks tell a lot about ourselves, don't they? What is your style?

Daniele Scasciafratte profile image
OpenSource Multiversal guy and CTO at Codeat (Web Agency in Rome, Italy), Book Author "Contribute to Open Source: the right way" Mozilla Reps & Mozilla TechSpeakers, WordPress Core contributor.