Clone the repository on your computer:
mkdir -p ~/.local
cd ~/.local
git clone [email protected]:aspirity-ru/bash-helpers.git
Add path of clonned repository to your PATH environment variable:
cd ~/.local/bash-helpers
export PATH=$PWD:$PATH
Commands above register scripts only for your current bash session. For permanent regstration run following commands:
cd ~/.local/bash-helpers
echo $'\n'PATH=\"$PWD:\$PATH\" >> ~/.bashrc
Follow Docker installation steps for ubuntu and install the latest version of Docker Compose:
docker-install
Install the latest version of NVM and the latest LTS version of NodeJS:
nvm-install
Download and unpack application into ~/.apps/appName:
install-app appName tarFlags downloadUrl
install-app telegram xf "https://telegram.org/dl/desktop/linux"
install-app webstorm xf "https://data.services.jetbrains.com/products/download?code=WS&platform=linux"
install-app postman xfz "https://dl.pstmn.io/download/latest/linux64"
Download and install package:
install-app pkgName downloadUrl
install-package chrome "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
Remove local copy of remote branch and checkout it again
git recheckout <branch> [--force]
You have developed a feature, then pushed your branch to a remote. Then it passed a code review and was merged and removed from the remote. And now you have some local branch with gone upstream.
To list all such branches run:
git gone
To remove them run:
git gone rm