Clone all branches in a repository at once. Add extra .git
to clone without main directory.
git clone --bare https://gitgub.com/user/repo.git .git
Convert to regular github project
git config -- bool core.bare false
Reset the .git HEAD pointer to ensure the project is at its last date.
git reset --hard
See all the branches
git branch
In Git Bash Console navigate to Git Bash install directory and type:
export PATH=$PATH:'/c/program files/nodejs/'
/c/program files/nodejs/
is nodejs's default install directory, change as needed.
npm i -g nodemon@latest
export PATH=$PATH:'/c/Users/<USERNAME>/AppData/Roaming/npm'