Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #7 #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ git add -A
git commit -m "Your commit message"
git push --set-upstream origin new-branch
```
The git add command lets you add a file to the staging area. You can think of the staging area as a step before the commit process in git.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use ' ` ' to add code snippets in a line, just like you use this '```' to add multi-line code snippets

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replacing git add with git add <file_name> would be intuitive.

As long as a changeset is in the staging area, git allows you to edit it as you like.
The git add -A command however, finds all new and updated files everywhere throughout the project and add them to the staging area.

* Inspecting a repository
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look at github markdown to format the text in .md files link

Copy link
Member

@tushar5526 tushar5526 Jun 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can format your changes using markdown :) for better readability

```
git status
```
The git status command displays the state of the working directory and the staging area. It simply shows you what's been going on with git add and git commit.

```
git log
```
Using the git log command, you can view the entire commit history using the default formatting.

* Create a Pull Request by navigating to your forked repository and
clicking the <kbd><b>New pull request</b></kbd> button on your left-hand side of the page.
Expand Down