• How to Ignore File Permission Changes in Git (And Avoid Long File Staging Lists)

    How to Ignore File Permission Changes in Git (And Avoid Long File Staging Lists)

    Have you ever worked on a project and seemingly out of nowhere your entire file list in your git staging history? It’s ugly, it ruins any usefulness your current commit had, and can clog up your overall history pretty fast. For a while, I wasn’t even sure what caused this. Turns out, changing file permissions...

    Read More

  • Git | Remove a Commit in the Middle of a Branch Using Rebase

    Git | Remove a Commit in the Middle of a Branch Using Rebase

    Do you need a simple way to git remove a commit from anywhere in the branch? Do you like to keep your git history clean? Luckily with Git, there is always a way. Even if you’re not an advanced Git user, this trick should be fairly straightforward to implement. Don’t be intimidated! It utilizes git...

    Read More

  • Git Amend: How To Edit Your Last Commit

    Git Amend: How To Edit Your Last Commit

    Git’s amend command is so simple, yet so powerful. I personally use it multiple times a day and even have a bash alias for it. Why is amending so useful? The answer is simple: programmers make lots of mistakes. Mistakes are a part of the job. Git amend fixes mistakes as simple as a commit...

    Read More

  • Git Good: Using Cherry-Pick to “Move” Commits

    Git Good: Using Cherry-Pick to “Move” Commits

    It’s no secret that Git is an essential tool for all kinds of software. Git isn’t terribly hard to pick up, yet has a complex learning curve. The neat thing about the learning curve is the little tricks just waiting to be picked up. Today, I will be going over something that can be massively...

    Read More