CastorisCausa

Personal blog and hacks by Raymundo Cassani

Posts tagged with: Git


Git hook at changing branches

Updated: The post-checkout hook the hook code below is intended to run only when changing branches, but it is invoked also when retrieving files from the index and rebasing. Thus these two cases need to be addressed in the code. See more details below. Often when working on experimental Git …


Congratulations! It's amazing that you're thinking into contributing to an open-source project. Contributions usually include: 🪲 Solving bugs ⭐ Development of new features 🗎 Improve documentation etc. Although the task seems intimidating, it can be broken into some simple steps. First of all, check if the project you want to contribute to has …

The posh-git-bash prompt, for Git, is a useful tool that shows information about the current status of a local Git repository respect to local and remote (e.g. GitHub) repositories; in this way, it's easy to see if the repository is ahead or behind, has uncommitted changes, is up-to-date, etc …