Skip to content
Md. Shohel Rana edited this page Apr 23, 2018 · 8 revisions

NPM

Packages Installation

npm install or npm i

New Packages Installation and save to package.json

npm install "your package name" --save-dev
npm install "your package name" --save

Update NPM for new version

npm i npm

NPM cache clean

npm cache verify
# if npm version is < 5 then use `npm cache clean`

GIT

Git clone

git clone "your repository name"
git clone "your repository name" --"your favorite name"

Pull code from server

git pull -f origin master

Push code to server

git add --all
git commit -m "Your messages"
git push -u origin master

Git user name setting

git config --global user.name "Shohel Rana"

Git email setting

git config --global user.email "[email protected]"

Angular CLI