Shamma Negi
Kilo Sage
Kilo Sage

Hi All,

 

Today I will cover how to fix the common issues or queries while contributing in Hacakthon#24

 

 

Question#1: What should I do if my branch has more commits than required. How should I make sure that only required commit should go in my pull request

 

ShammaNegi_0-1729067594307.png

 

 

Anwer: Make sure your branch has required commits which is relevant to your pull request. If there are more and you dont need it then do the following:

 

Go to Sync Fork and make sure there are no extra or irrelevant commit or updates if there is then you will get an option to discard it or update it with the main repo.

 

Ideally the Sync fork should look like below:

 

ShammaNegi_1-1729067699959.png

 

 

Question#2: How should I make sure that my pull request has relevant and required updates?

Answer: Make sure when you raise a pull request you check Files Changes and Commits tabs. It should show relevant files and updates. If there is something you dont need you have to delete that file and commit it under this branch.

 

 

Question#3: What is required files under single pull request?

Answer: You should have one folder under which 2 files one script_name.js and second readme.md. Readme.md file should have the description of the script file. Make sure you have no comments and log statement inside the file.

 

 

Question#4: If I get an update on email that you need to work on pull request and if I reply back will the comments gets captured in the pull request via email?

Answer: Yes, it will get captured. You can also reopen the request by clicking on reopen button

 

Hope it helps.

 

Thanks,

Shamma