Skip to content

Bash script to view the git branches on mac terminal with username and working directory

Notifications You must be signed in to change notification settings

skmonjurul/bash-script-to-view-git-branches-on-mac-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

bash-script-to-view-git-branches-on-mac-terminal-and-git-command-completion

Bash script to view the git branches on mac terminal with username, working directory and the state of the current branch (means if there is any changes made or not)

Steps

  • Go to home dir (cd)
  • open .bash_profile file (vi .bash_profile)
  • copy and paste the content
  • save .bash_profile file
    • press ESC
    • press :wq or :x
    • press Enter
  • Reflect the changes by running below command
    • source ~/.bash_profile

About

Bash script to view the git branches on mac terminal with username and working directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages