How to Setup GitHub in Visual Studio 2019 | Blogz Den
Concise steps to connect Visual Studio with GitHub.
Initial Things to Do:
3. Download latest Node.js software.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Step 1: Run "npm install --force" command (node module folder will create)
Step 2: In "cmd" Go to directory where you want place the project.
- cd C:\TFS Files\RemitAnywhere.MWallet.DEV
Step 3: Run command to initiate Git Repository. (First download/install the latest git software)
- git init
Step 4: Run command to add the origin from where you want to copy the project.
- git remote add origin <git repository code path>
Step 5: Now run the command to check remote URL have setup or not to Fetch & Push the project.
- git remote -v
Step 6: Run this command to get/download latest project files in your selected path (in Step1)
- git pull origin dev
*Result should be:
Step 7: Run "npm run build" command to create build (this will create .next folder)
*Note:: Remove Package.lock.json file for first build.
Step 8: Run "npm run dev" command to run project locally (but delete .next folder first).
Step 9: For Cloning code:
- git clone -b dev <git repository code path>
Post a Comment