Monthly Archives: April 2013

Description: Having that we commited some code with a wrong message, how can we edit the last commit? Solution: If the code has not been pushed yet, the command git commit –amend will do the trick. Example : git commit –amend -m … Continue reading →

Description: Having a PhP form, we need to manipulate in JavaScript an object that depends on the form input. Solution: The best way to do it is to use an encoded JSON object or an AJAX call. The AJAX call … Continue reading →