Integrating/Pushing Postman Collections & Environment(Sample) to github using git.
- Create Postman Collection & Environment.
- Export both collection & environment to the Local system.
- Clone the git repository to the local system.
- Create folder & clone through
git clone url-link
in cmd prompt. - Create folders using cmd promt or in the folder with directly(any thing you like).
- Add the files
git add .
(this will add all the files at a time). - Add commit
git commit -m "Text"
. - Now, push the code into the repository
git push -u origin branch(main / blah blah etc)
- Verify in the repository of your github account.