Customizing your bash prompt with current git branch
Just add this to your ~/.bashrc file or create it if one doesn’t exist. You’ll either need to close and reopen Terminal for the change to take effect or run this source ~/.bashrc…
Just add this to your ~/.bashrc file or create it if one doesn’t exist. You’ll either need to close and reopen Terminal for the change to take effect or run this source ~/.bashrc…
By using the git log command formatted and piped to sort -u (unique) you can pretty easily get a listing of who has ever contributed to a project which is under git source control. git log --pretty=format:"%an" | sort -u Using this you’ll get an output that resembles…