This file contains 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
alias gs="git status"; # git status. example usage: gs | |
alias gc="git checkout"; # checkout a branch. example usage: gc sample-branch | |
alias gcb="git checkout -b"; # creates a new branch. example usage: gcb sample-branch | |
alias gpso="git push origin"; # push branch to origin remote. example usage: gpso sample-branch | |
alias gplo="git pull origin"; # pull branch from origin remote. example usage: gplo sample-branch | |
alias gcplo="git checkout $1 && git pull origin $1"; # checkout and pull branch from origin remote. example usage: gcplo sample-branch |
This file contains 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
#!/bin/bash | |
# Download and run the NVM installation script | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash | |
# Reload the shell configuration to make the nvm command available | |
source ~/.bashrc | |
# Print instructions for listing versions of Node.js | |
echo "list versions -> 'nvm list-remote'" |