Jessica Temporal·Jul 6git switch -c: create a branch and switch in one commandDid you know you can create a branch in git and change to it all with a single command? Well, there are actually two commands that can help…
Jessica Temporal·Jul 1Giving Netlify access to a new GitHub repoMigrating my website to a new design meant working on a separate repo for a while. Once things looked solid enough to ship, I figured I’d…
Jessica Temporal·Jul 1Dando ao Netlify acesso a um novo repositório no GitHubMigrar meu site para um design novo significou trabalhar em um repo separado por um tempo. Quando as coisas ficaram boas o suficiente para…
Jessica Temporal·Jun 30git merge conflicts: what to do when git yells at youLet’s say you are doing a merge and then git yells at you: there is a conflict. What do you do? Well, whatever you do, do not panic. This…
Jessica Temporal·Jun 28Undoing more than one commit at once with git revertYou may already know how to use git revert to reverse a single commit, but you can also revert a range of commits with a single command. In…
Jessica Temporal·Jun 28Desfazendo mais de um commit de uma vez com git revertVocê talvez já saiba como usar git revert para reverter um único commit, mas você também pode reverter um intervalo de commits com um único…
Jessica Temporal·Jun 25the .gitkeep trick: how to make git track empty foldersYou build the thing, you push the project to GitHub, but when your friend clones it and tries to build, it doesn’t work because a folder…
Jessica Temporal·Jun 23git stash pop vs apply: which one should you use?You stashed your changes, but now you want them back. Do you use pop or apply? 🤔
Jessica Temporal·Jun 20Recovering lost commits with git reflogThere is a particular kind of panic that hits when a commit looks like it just vanished. Maybe you ran a hard reset, or a rebase went…
Jessica Temporal·Jun 20Recuperando commits perdidos com git reflogTem um tipo específico de pânico que bate quando parece que um commit simplesmente sumiu. Talvez você tenha rodado um hard reset, ou um…