Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ The repository has `hacktoberfest` topic added, hence the pull requests will cou

## Contributing

- Fork this repository by going to https://github.com/akshatcx/git-workshop and clicking on `Fork`
- Clone the forked repository
- Fork this repository by going to https://github.com/akshatcx/git-workshop and clicking on `Fork`.
- Clone the forked repository.
```bash
git clone https://github.com/<your_github_username>/git-workshop
```
- Change directory into the cloned folder
- Change directory into the cloned folder.
```bash
cd git-workshop
```
- Checkout to a new branch
- Checkout to a new branch.
```bash
git checkout -b <new_branch_name>
```
- Add a file `<your_name>.json` in the `introductions` folder in the following format
- Add a file `<your_name>.json` in the `introductions` folder in the following format.
```bash
{
"name": "your name",
Expand All @@ -30,15 +30,15 @@ git checkout -b <new_branch_name>

A sample file `akshat_chhajer.json` has been added for your reference.

- Add the newly created file
- Add the newly created file.
```bash
git add .
```
- Commit the added file
- Commit the added file.
```bash
git commit -m "<your commit message>"
```
- Push the code back to your repository
- Push the code back to your repository.
```bash
git push origin <new_branch_name>
```
Expand Down