Skip to content
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Introduction to Git and GitHub

## Simple Interest Calculator
## Simple Interest Calculator (Updated)

A calculator that calculates simple interest given principal, annual rate of interest and time period in years.

Expand Down
3 changes: 3 additions & 0 deletions bug-fix-revert
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$ curl https://api.github.com/repos/arjyalopa/mcino-Introduction-to-Git-and-GitHub/pulls

<PASTE THE FULL TERMINAL OUTPUT HERE>
8 changes: 8 additions & 0 deletions forked-repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
curl -s https://api.github.com/repos/arjyalopa/mcino-Introduction-to-Git-and-GitHub

{
"fork": true,
"parent": {
"full_name": "ibm-developer-skills-network/mcino-Introduction-to-Git-and-GitHub"
}
}
3 changes: 3 additions & 0 deletions github-branches
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$ git branch -v
bug-fix-typo ae281e4 Fix typo in README
* main f9a11d2 Verify pull request and fork source using curl
16 changes: 16 additions & 0 deletions merge_branches
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
$ git checkout -b bug-fix-typo
Switched to a new branch 'bug-fix-typo'

$ git add README.md
$ git commit -m "Fix typo in README"
1 file changed, 1 insertion(+), 1 deletion(-)

$ git checkout main
Switched to branch 'main'
Your branch is up to date with 'origin/main'.

$ git merge bug-fix-typo
Updating e095add..ae281e4
Fast-forward
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)