Skip to content

Instantly share code, notes, and snippets.

@xero
Created January 3, 2013 20:15
Show Gist options
  • Save xero/4446748 to your computer and use it in GitHub Desktop.
Save xero/4446748 to your computer and use it in GitHub Desktop.
git ascii splash screen. name the file git-ascii.sh, and add it on it's own line to ~/.bashrc this will auto-run the splash screen every time your git terminal starts up.
#!/bin/sh
clear
echo -e " "
echo -e " \e[00;32m xxx "
echo -e " \e[00;32m xxx \e[01;33m welcome to GIT"
echo -e " \e[00;32m xxxxxxxxxxxxx \e[01;33m the information manager from hell"
echo -e " \e[00;32m xxxxxxxxxxxxx "
echo -e " \e[00;32m xxx "
echo -e " \e[00;32m xxx "
echo -e " \e[00;32m \e[01;37m" $(git --version)
echo -e " \e[00;31m xxxxxxxxxxxxx \e[01;37m powered by console 2.00.148"
echo -e " \e[00;31m xxxxxxxxxxxxx "
echo -e " "
echo -e " \e[01;30m xx xxxxxx "
echo -e " \e[01;30m xx xx xx \e[01;37m run \e[00;32m'git help git'"
echo -e " \e[01;30m xx xx xx \e[01;37m to display the help index."
echo -e " \e[01;30m xx xx "
echo -e " \e[01;30m xx xx \e[01;37m run \e[00;32m'git help <command>'"
echo -e " \e[01;30m xxxxxxxxx \e[01;37m to display help for specific commands."
echo -e " \e[01;30m xxxxx "
echo -e "\e[00m "
@MarketingPip
Copy link

NON ANSI Version for anyone wanting it!

const output = `
            
      xxx         
      xxx        welcome to GIT
 xxxxxxxxxxxxx   the information manager from hell
 xxxxxxxxxxxxx    
      xxx         
      xxx         
                 
 ${require('child_process').execSync('git --version').toString().trim()}
 xxxxxxxxxxxxx   powered by console 2.00.148
 xxxxxxxxxxxxx    
                             
   xx   xxxxxx    
  xx    xx xx    run 'git help git'
 xx     xx  xx   to display the help index.
 xx         xx    
  xx       xx    run 'git help <command>'
   xxxxxxxxx     to display help for specific commands.
     xxxxx        
                       `;

console.log(output);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment