Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 794 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 794 Bytes

bash_rc

Git Bash commands, functions, aliases etc. Useful for development.

Instructions

  • Save .bashrc file to your home directory or just simple run command in your terminal:

    curl -o  ~/.bashrc https://raw.githubusercontent.com/sergii-nosachenko/bash_rc/main/.bashrc
  • Open saved file and change defaults for your environment:

    # Path to working directory.
    # $HOME === ~ === your home directory
    WORKING_DIR="$HOME/Projects/"
    
    # Default branch for development
    BRANCH="develop"
  • Restart your terminal or open new one.

Usage

  • Open your terminal.

  • Run command:

    project https://github.com/your-account-name/repo-name.git

    (url depends on repository!)

  • Wait until script finishes operations and opens new VSCode window.