Skip to content

Commit be35c5b

Browse files
authored
Merge pull request #12 from philipHinch/master
Added JS Project
2 parents 85d3372 + 0fb752a commit be35c5b

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

readme.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ To add all files and folders at once
488488
```
489489

490490
To add and commit at the same time
491+
491492
```sh
492493
git commit -am 'commit message'
493494
```
@@ -513,10 +514,12 @@ Your commit message has to be associated with the changes or modifications you m
513514
The _git log_ command allows knowing the commit history of the project. It list down all the commit history
514515

515516
### 10. Git log --oneline
517+
516518
The **git log --oneline** command allows to list minified log history
517519

518520
### 11. Git log -<limit>
519-
For instance, this **git log --5** command list 5 commit history.
521+
522+
For instance, this **git log --5** command list 5 commit history.
520523

521524
### 12. Git check out
522525

@@ -676,9 +679,10 @@ sensitive-info.txt
676679
```
677680

678681
### 24 Forking
679-
A forking is a process of owning other repository. After you clicked on fork button of a certain repository you will see that that repository became in your repository list. You can try by clicking the fork button on this repository.
680682

681-
Every repository that has some content in it has an active fork button on the right top corner.
683+
A forking is a process of owning other repository. After you clicked on fork button of a certain repository you will see that that repository became in your repository list. You can try by clicking the fork button on this repository.
684+
685+
Every repository that has some content in it has an active fork button on the right top corner.
682686
![fork](./images/fork.png)
683687

684688
After forking, we can clone the repository and work on the cloned version of the project. After modifiying the original we can push to the forked verion of the repository. In addition, we can send a pull request to the original repo to contribute on the project.
@@ -711,7 +715,7 @@ git commit -am "commit message" # Grab everything & skip the stage process
711715

712716
git log # See the history on the repository
713717
git log --oneline
714-
git log -<limit>
718+
git log -<limit>
715719
git log --author ="name" # To check change by specific user
716720
git log --graph # Visualize the history
717721

@@ -726,7 +730,7 @@ git checkout <commit-id> -- <path to file> # Checkout file from specific commit
726730
git remote -v # View remote repository-Urls
727731
git remote add <remote name> repository-Url # Add a new remote
728732
git push -u remote master # Push the file into github
729-
git checkout <commit-id> -- filename #
733+
git checkout <commit-id> -- filename #
730734

731735
git rm filename1 # Delete one tracked file
732736
git mv filename1 filename2 # Delete tracked file(s)
@@ -751,6 +755,7 @@ Check the available repository features by clicking each buttons.
751755
![](./images/github-repository-ui_1.png)
752756

753757
Check what is available on your GitHub account settings
758+
754759
- watch this repository
755760
- Give start to this repository
756761
- fork this repository
@@ -794,13 +799,15 @@ Every GitHub public repository has a wiki page. A wiki page allows you to write
794799
# Day 6
795800

796801
## Collaborating on GitHub
802+
797803
GitHub made open-source collaboration very easy. You can collaborate to any open-souce GitHub repository by forking the repository. In this section, let's learn how to make collaborate on an open source project:
804+
798805
1. First Fork the [10-days-of-git-and-github](https://github.com/Asabeneh/10-days-of-git-and-github) repository
799806
2. After forking, clone this repository on your desktop
800-
3. Add your favorite educational links on Education Resouces categories. You can learn how to collaborate by adding links of best educational resouces on the category below. If the category is not exist, you create a new category.
801-
807+
3. Add your favorite educational links on Education Resouces categories. You can learn how to collaborate by adding links of best educational resouces on the category below. If the category is not exist, you create a new category.
802808

803809
### Educational Resources
810+
804811
<details>
805812
<summary>
806813
Command Lines
@@ -1021,7 +1028,17 @@ Project R
10211028
</li>
10221029
</details>
10231030

1024-
----
1031+
<details>
1032+
<summary>
1033+
Project JS
1034+
</summary>
1035+
<li>
1036+
<a href="">Philip</a>
1037+
</li>
1038+
</details>
1039+
1040+
---
1041+
10251042
# Day 7
10261043

10271044
## Advanced git features

0 commit comments

Comments
 (0)