Skip to content

srmarohit/interview-preparation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interivew Preparation Learning.

Steps

  • Once Clone the repository with run command

  • config remote with run command

  • checkout to develop branch

    • git checkout develop
  • create new branch from develop regarding what you are going to do.

    • git checkout -b <--person-->/<--work-->
    • example : git checkout -b rohit/factorial
  • after creating branch create your own folder(folder name should have your name)

    • create similar structure of folder as other developer have done.

Push

  • first add or stage all of your changes using command

    • git add .
  • then commit with an appropriate message like

    • git commit -m "feat(factorial) : wap for factorial in python"
  • then push to the remote repository

    • git push origin <--your branch name -->
    • example : git push origin rohit/factorial

Raise Pull Request

  • For raising pull request, visit github repository website
    • click on new pull request
    • select develop branch into base dropdown box.
    • select your recently pushed branch into compare dropdown box.
    • click on create pull request.
  • Once PR is done then you can see it into open pull request.
  • You can see merge PR into closed PR list.

Merge

  • Once Reviewer approve your PR then you can merge it .

Authors

Interview tasks

WAP to find the factorial of any given number.

WAP to check whether number is prime or not.

WAP to find the sum of fibonacci series .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published