Skip to content

Instantly share code, notes, and snippets.

View joshrowley's full-sized avatar

Josh Rowley joshrowley

  • GitHub Staff
  • Jersey City, NJ
View GitHub Profile
# Git status bash prompt
#
# In addition to printing the current working directory, this prompt will
# show a number of things if you are in a git repository:
# - The current branch you are in
# - Whether there are untracked files in the repository (there will be an
# asterisk after the branch nome if there are)
# - Whether there are any unmerged/unstaged/staged changes or if the directory
# is clean. See below for the colors that will be used, and change them if
# you'd like.
@joshrowley
joshrowley / bash-commands.md
Created September 1, 2016 19:16
BASH commands c/o @devinburnette

c/o @devinburnette

Basics

$ w

see who else is on box

$ w
14:15 up 5 days, 19:23, 7 users, load averages: 1.47 1.56 1.82