-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/srmarohit/interview-prepa…
- Loading branch information
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Thank You Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' # This will trigger on push events to any branch | ||
|
||
jobs: | ||
thank_you: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Print Thank You Message | ||
run: echo "Thank you for pushing to the branch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
# Interivew Preparation Learning. | ||
|
||
|
||
## Steps | ||
|
||
- Once Clone the repository with run command | ||
- "git clone https://github.com/srmarohit/interview-preparation.git" | ||
|
||
- config remote with run command | ||
- "git remote add origin https://github.com/srmarohit/interview-preparation.git" | ||
|
||
- 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 | ||
|
||
- [ROHIT SHARMA](https://www.github.com/srmarohit) | ||
|
||
|
||
## 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 . | ||
|