Skip to content

git terminal script


Status In Orbit

Source Code Source


A lightweight script to display the git details of a tracked folder within a terminal.

The script works by traversing each directory from the current working directory and checks if a .git folder is present. If present, it displays the checked out branch, its status, and what commit is currently at the HEAD.

Tech Specs:

  • Projects Planet bash
  • Projects Planet shell