Skip to content

Commit be9387b

Browse files
authored
Update contribution.md
1 parent 3efeb4e commit be9387b

1 file changed

Lines changed: 18 additions & 15 deletions

File tree

.github/ISSUE_TEMPLATE/contribution.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
- Fork this [repo](https://github.com/swaaz/basicprograms)
33
- Clone it using command :
44
<pre> $ git clone paste_the_copied_url.</pre>
5-
- Open folder "C/python" using command :
5+
- Open folder "C/Python" using command :
66
<pre>$ cd filder_name</pre>
77
eg:cd C
88
- Create new branch using command :
@@ -11,24 +11,27 @@
1111
- Checkout to new branch from master branch using command:
1212
<pre>$ git checkout new_branch_name</pre>
1313
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:
2326
<pre>$ git add -A</pre>
2427
- Commit file using command:
2528
<pre>$ git commit -m "comment"</pre>
26-
eg-git commit -m "profile added"
29+
eg-git commit -m "program added"
2730
- Push the file using command:
2831
<pre>$ git push origin -u 'branch_name'</pre>
2932
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/)
3437

0 commit comments

Comments
 (0)