|
|
|
@ -1,8 +1,19 @@
|
|
|
|
# git Quick Start
|
|
|
|
# git Quick Start Guide
|
|
|
|
|
|
|
|
|
|
|
|
- [Official Git Documentation](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control)
|
|
|
|
- [Official Git Documentation](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control)
|
|
|
|
- [Setup new repo](https://www.atlassian.com/git/tutorials/setting-up-a-repository)
|
|
|
|
- [Setup new repo](https://www.atlassian.com/git/tutorials/setting-up-a-repository)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Git Fundamental
|
|
|
|
|
|
|
|
- Git is a distributed version control system. It was designed with the following goals
|
|
|
|
|
|
|
|
- Speed
|
|
|
|
|
|
|
|
- Simple design
|
|
|
|
|
|
|
|
- Strong support for non linear development
|
|
|
|
|
|
|
|
- Fully distributed
|
|
|
|
|
|
|
|
- Able to handle large projects
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Git has three main states that your files can reside in: modified, staged, and committed
|
|
|
|
|
|
|
|
- 
|
|
|
|
|
|
|
|
|
|
|
|
## Create a local repo
|
|
|
|
## Create a local repo
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
# Create a bare repo
|
|
|
|
# Create a bare repo
|
|
|
|
|