• Dev,  Free Software,  Linux

    Git: push a new commit before a tag

    Last day, I faced a case where I had to backport a bug in a software which was released by a git tag. As far I know, there is no easy way to simply push a patch before a tag, so here is how I proceeded: # Checkout the upstream git checkout master git fetch --all git pull # List…