|
2 | 2 | - Fork this [repo](https://github.com/swaaz/basicprograms) |
3 | 3 | - Clone it using command : |
4 | 4 | <pre> $ git clone paste_the_copied_url.</pre> |
5 | | -- Open folder "C/python" using command : |
| 5 | +- Open folder "C/Python" using command : |
6 | 6 | <pre>$ cd filder_name</pre> |
7 | 7 | eg:cd C |
8 | 8 | - Create new branch using command : |
|
11 | 11 | - Checkout to new branch from master branch using command: |
12 | 12 | <pre>$ git checkout new_branch_name</pre> |
13 | 13 | eg-git checkout swaaz |
14 | | - ## Check whether the program which you want is exist in the given table |
15 | | - |
16 | | -- Create file using command : |
17 | | -<pre>$ nano username.md</pre> |
18 | | - eg: nano swaaz.md |
19 | | -- Fill all the required details |
20 | | -- Save file using : |
21 | | - ctrl+x -> y |
22 | | -- Add file using command: |
| 14 | + ## Check whether the program which you want is exist in the _readme_ file |
| 15 | + ### If it's existing then don't waste your time by adding it again and think of adding some other program |
| 16 | + ### If it's not existing then |
| 17 | + - Create a new folder |
| 18 | + <pre> $ mkdir program-number </pre> |
| 19 | + eg:mkdir program-35 |
| 20 | + - Change directory to the new created folder |
| 21 | + <pre> $ cd folder_name </pre> |
| 22 | + - Create a file *program.c* |
| 23 | + - Write the code inside program.c file |
| 24 | + ### NOTE: Before writng code refer *sample* file and write the code in the same format as given |
| 25 | + - Add file using command: |
23 | 26 | <pre>$ git add -A</pre> |
24 | 27 | - Commit file using command: |
25 | 28 | <pre>$ git commit -m "comment"</pre> |
26 | | - eg-git commit -m "profile added" |
| 29 | + eg-git commit -m "program added" |
27 | 30 | - Push the file using command: |
28 | 31 | <pre>$ git push origin -u 'branch_name'</pre> |
29 | 32 | eg-git push origin -u swaaz |
30 | | -- The given link should be copied and pasted in web browser |
31 | | -- Click on create pull request. |
32 | | -## Still if you did not understand how to submit |
33 | | - Click [here](https://gitme.js.org/) |
| 33 | +- The given link should be copied and pasted in web browser or go to your repo in web browser |
| 34 | +- Create a pull request |
| 35 | +## Still if you did not understand how to create pull request : |
| 36 | +[click here](https://gitme.js.org/) |
34 | 37 |
|
0 commit comments