|
1 | 1 | # Automation-using-Shell-Scripts
|
2 | 2 | Development Automation using Shell Scripting, Crontab Scheduling, LAMP STACK etc.
|
3 | 3 |
|
4 |
| -# How to Collaborate: |
| 4 | +## How to Contribute |
5 | 5 |
|
6 |
| -1. Fork the repository to your own GitHub account. |
| 6 | +All contributions welcomed. Follow these [guidelines](CONTRIBUTING.md) to contribute. |
7 | 7 |
|
8 |
| -2. Clone the repository to your local machine |
9 |
| -``` |
10 |
| -$ git clone "https://www.github.com/{Username}/Automation-using-Shell-Scripts" |
11 |
| -``` |
12 |
| -where username is your GitHub account username. |
| 8 | +## License |
13 | 9 |
|
14 |
| -3. Create a branch where you can do your local work. |
15 |
| -Never work on **master** branch as we do not allow master commits except by admins. |
16 |
| -``` |
17 |
| -$ git branch {branchname} |
18 |
| -$ git checkout branchname |
19 |
| -``` |
| 10 | +This project follows MIT [License](LICENSE) |
20 | 11 |
|
21 |
| -4. Do your work and stage your changes. |
22 |
| -``` |
23 |
| -$ git add <filename> |
24 |
| -``` |
25 |
| - |
26 |
| -5. Commit you changes with a commit message containing your name, file(s) worked upon, changes added. |
27 |
| -``` |
28 |
| -$ git commit -m "Name| files| Changes" |
29 |
| -``` |
30 |
| - |
31 |
| -6. Push changes to your forked repository |
32 |
| -``` |
33 |
| -$ git push -u origin branchname |
34 |
| -``` |
35 |
| -7. Create a pull request to the upstream repository. |
36 |
| - |
37 |
| -# Synchronize forked repository with Upstream repository |
38 |
| - |
39 |
| -1. Create upstream as our repository |
40 |
| -``` |
41 |
| -$ git remote add upstream "https://www.github.com/NishkarshRaj/Automation-using-Shell-Scripts" |
42 |
| -``` |
43 |
| - |
44 |
| -2. Fetch upstream changes in local machine |
45 |
| -``` |
46 |
| -$ git fetch upstream |
47 |
| -``` |
48 |
| - |
49 |
| -3. Switch to master branch |
50 |
| -``` |
51 |
| -$ git checkout master |
52 |
| -``` |
53 |
| - |
54 |
| -4. Merge changes in local machine |
55 |
| -``` |
56 |
| -$ git merge upstream/master |
57 |
| -``` |
58 |
| - |
59 |
| -5. Push changes to your forked GitHub repository |
60 |
| -``` |
61 |
| -$ git push -f origin master |
62 |
| -``` |
63 | 12 |
|
0 commit comments