This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add below configuration to clone git repo and open in VS Code | |
| # Provided below conditions are met: | |
| # 1. VS Code is installed and `code` command can be used to invoke VS Code | |
| # 2. All git repos are cloned into a workspace folder called ~/git. | |
| # If the workspace folder needs change `cd ~/git` -> cd ~/<your workspace folder> in below alias command. | |
| # 3. Add this alias to your .bashrc or .zshrc | |
| # 4. source the .bashrc or .zshrc (for first time) or open new terminal | |
| # 5. Change the alias name as you wish | |
| # | |
| # USAGE:: $ gcode https://github.com/<repo path>.git |