git checkout master # you can avoid this line if you are in master...
git subtree split --prefix dist -b gh-pages # create a local gh-pages branch containing the splitted output folder
git push -f origin gh-pages:gh-pages # force the push of the gh-pages branch to the remote gh-pages branch at origin
git branch -D gh-pages # delete the local gh-pages because you will need it: ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Colocar na tag form os seguintes atributos: <form method="post" action="enviar.php"> | |
$para = "[email protected]"; // Mudar o e-mail para o destinatário | |
$assunto = "Formulário de Contato"; // Assunto do E-mail | |
$mensagem = "<strong>Nome: </strong>".$_POST['posto']; // Campos do formulário. Colocar o equivalente no atributo name do campo. | |
$mensagem .= "<br><strong>E-mail: </strong>".$_POST['email']; // Campos do formulário. Colocar o equivalente no atributo name do campo. |
git ls-files -m | xargs -I {} git update-index --assume-unchanged {}