azure-sdk-for-node/Documentation/SetupRepo.md

876 B

Setting up the Node SDK repo

  • Create a fork from the repo
  • Clone the forked repo at a location say “D:\sdk”
git clone git@github.com:your-github-username/azure-sdk-for-node.git
cd azure-sdk-for-node
git checkout master
git remote add upstream git@github.com:Azure/azure-sdk-for-node.git
git pull upstream master
git push origin master (if there are any updates)

Note: It is a best practice to create a separate branch for your feature from the master branch. 
In this way the master branch in your fork can always be synced easily with upstream and is 
not polluted with your current changes.

git checkout -b myFeatureBranch 
git push origin myFeatureBranch
  • Installing the required npm modules from the root directorynpm install

Now, the Node SDK is ready for you to make a marvelous contribution :+1