Git the Branch
I started playing with a way to control Git via Python. Kushal had asked me to write a program, that would show me the local git branches. So here it is! I call it Git the Branch. (painfully, punny, I know :)) And now I realise why he asked me to do this. The program itself is trivial. Here’s the code on my code repo, Gitlab, and Github. It just consists of me using GitPython to access the current folder via a GitPython Repo object. And then querying it for its branches. ...