This section provides an overview of what github is, and why a developer might want to use it.
It should also mention any large subjects within github, and link out to the related topics. Since the Documentation for github is new, you may need to create initial versions of those related topics.
GitHub is a huge collection of Git repositories. In other words, you can think of GitHub as a collection of many projects!
For Git/GitHub beginners, understanding how version control works might be confusing at first. There exists a GUI version of GitHub that you can download and use. GitHub Desktop is just that tool.
You can think of a repository as a project. You can create a repository online or offline. Follow the steps below:
N.B. Private repositories are not available for free users.
GitHub expands Markdown syntax to provide new useful features.
# Header1
## Header2
### Header3
#### Header4
##### Header5
###### Header6
H1
===
H2
---
*Italic1* _Italic2_
**Bold1** __Bold2__
***Bold_Italic***
~~Strikethrough~~
---
***
___
unordered list:
* item-1
* sub-item-1
* sub-item-2
- item-2
- sub-item-3
- sub-item-4
+ item-3
+ sub-item-5
+ sub-item-6
ordered list:
1. item-1
1. sub-item-1
2. sub-item-2
2. item-2
1. sub-item-3
2. sub-item-4
3. item-3
Table Header-1 | Table Header-2 | Table Header-3
:--- | :---: | ---:
Table Data-1 | Table Data-2 | Table Data-3
TD-4 | Td-5 | TD-6
Table Data-7 | Table Data-8 | Table Data-9
inline code- `int i=0`
block code-
``` C
for(int i=0; i<10; i++){
printf("Hallow World! \n");
}
```
> Stay hungry; stay foolish.
>> Quality is better than quantity.
>>> Life is not fair; get used to it.
https://github.com
[GitHub](https://github.com)
[GitHub](https://github.com "github website")
[GitHub][1]
[1]: https://github.com
![GitHub Logo](https://assets-cdn.github.com/images/icons/emoji/octocat.png "GitHub")
- [x] completed item
- [ ] incomplete item
:octocat: :+1: :book: :ghost: :bulb: :imp:
For all GitHub emojies visit- Emoji Cheat Sheet.
Any reference to a SHA1 hash of a commit will be converted into a link to the commit itself on GitHub:
e7909ea4fbb162db3f7f543d43c30684a3fb745f
Any reference to a pull request or an issue will automatically be linked to that pull request or issue.
This can be done by putting a #
in front of the issue/Pull Request number.
GitHub helps you quickly add a license to your repository, as an alternative for adding your own text/markdown file.
In your repository, click 'Create new file'
On next page:
LICENSE.md
or LICENSE.txt
as the new file's file name.Choose your preferred license.
The licence you could see in the repository details:
From Q&A - How to add license to a existing Github project
If your project doesn't have README.md, GitHub may parse README.rdoc to display details. If it has both, it will use README.md, silently ignoring rdoc.
Describe briefly about your project. You may also provide project's website link, badges, community & contact info (i.e. email, social site).
Runnable file (executable or minified or installation file) link. There can be links to previous versions too.
How your work can be used. It may include the prerequisites, settings, third party libraries, usage, cautions, etc.
It may include code sample, gif file, video link, or even screen shots.
Author names, contact info, etc.
List of people or community helped and inspired throughout the project
Instructions to contribute (i.e. add feature, report bug, submit patch) to the project. May include documentation link too.
Give a short intro over your license. You can give a link to the license site too.