Git Bash basic commands

//get latest code
$ git clone https://xxxxcom

//get code directory
$ cd Company2019

//checkout fb-bunlde-dev branch
$ git checkout fb-bundle-dev

//open visual studio code
$ code .

//after making changes to check the status
$ git status

//to check difference
$  git diff assets/src/js/NewsArticles.js  

//open assets folder before installing
$ cd classic/assets

$ git add .
$ git add 'filename'

//commit changes
$ git commit -m "Comment to be added"

//push changes
$ git push

$ npm install

$ npm run build

Post a Comment

0 Comments