Skip to content

Instantly share code, notes, and snippets.

View andyconlin's full-sized avatar

Andy Conlin andyconlin

View GitHub Profile
@tanaikech
tanaikech / submit.md
Created January 10, 2020 01:20
Trend of google-apps-script Tag on Stackoverflow 2020

Trend of google-apps-script Tag on Stackoverflow 2020

January 10, 2020 Published.

Kanshi Tanaike

@michaelneu
michaelneu / README.md
Last active December 29, 2023 04:06
A basic, but fast git prompt.

bash-basic-git-prompt

This is a considerably faster, but much more basic alternative to bash-git-prompt.

When adding this script to your .bash_profile or .bashrc, it'll display the selected branch of the current folder (if it's a git repo), and whether it's modified (yellow) or contains staged files (cyan).

example

The script makes the assumption, that a .git folder only exists when the directory is a git repo. Also, it checks for the english version of the git status command, so if you're using git in a different locale, make sure to adjust this.