Git Bash commands, functions, aliases etc. Useful for development.
-
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.
-
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.