Tuesday, August 17, 2021

How do I clone a branch in Git?

 If you want to clone you code from DevOps using the ,cmd so steps are as below :-


Step 1:- Go to your branch and copy the clone Path(HTTPS or SSH).Use 

Step 2:- Go CMD and open your path where you want to clone your code.

Ste 3 :- Use this command git clone  <Step 1 Path>.

The full commands are as below 


 


Thank you Hope it is help you.

Friday, August 13, 2021

How to Downgrade/Upgrade angular version.

 If you want to Downgrade/Upgrade you angular version then you have follow the below steps.


Step 1:- npm uninstall -g @angular/cli

Step 2:- npm cache clean --force

Step 3:- Specify which version you want to install

npm install -g @angular/cli@x.x.x(For search list of version pls click here)


This will get the latest cli version: npm install -g @angular/cli



Thank you!


Node Sass version 6.0.1 is incompatible with ^4.0.0. angular

 When you getting error  "Node Sass version 6.0.1 is incompatible with ^4.0.0. angular" .The solution are as below:-

Step 1:- npm uninstall node-sass 

Step 2:- npm install node-sass@4.14.1

I thing it will help you.


Thank you