Git - Some tips for your .gitconfig file
In this article, we're going to explore some tips for using Git more easily by customising the ~/.gitconfig
file.
We'll create a new git undo
command to abandon the last local commit.
We'll see how to share Windows Credentials manager with Linux, to have multiple credentials based on your folders structure, ...
We'll also see how to better works with branches like sorting them by commit date instead of their name, to automatically prune (remove) old branches or to force the creation of a new branch on the remote.