MATT CARLOTTA

fullstack software engineer

git gnome terminal

Details:

In Orbit
git gnome terminal
Source

Description:

A lightweight script to display the git details of a tracked folder within Gnome-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:

  • gnome-terminal
  • bash
  • shell

Snapshots:

clean folder

A preview of a terminal displaying the logged in user, their current directory, the git branch they've checked out, and the current branch's status.

unstaged files

A preview of a terminal displaying the logged in user, their current directory, the git branch they've checked out, and the branch's status which is currently unstaged

staged files

A preview of a terminal displaying the logged in user, their current directory, the git branch they've checked out, and the branch's status which is currently staged after they have run 'git add .'.

committed files

A preview of a terminal displaying the logged in user, their current directory, the git branch they've checked out, and the branch's status which is currently comitted and in sync with a remote branch.
go back to projects

©2022 matt carlotta