index.md 3.7 KB
Newer Older
M
Marcia Ramos 已提交
1 2
# Git documentation

3 4 5 6 7
Git is a [free and open source](https://git-scm.com/about/free-and-open-source)
distributed version control system designed to handle everything from small to
very large projects with speed and efficiency.

[GitLab](https://about.gitlab.com) is a Git-based fully integrated platform for
M
Marcia Ramos 已提交
8
software development. Besides Git's functionalities, GitLab has a lot of
9 10 11 12 13
powerful [features](https://about.gitlab.com/features/) to enhance your
[workflow](https://about.gitlab.com/2016/10/25/gitlab-workflow-an-overview/).

We've gathered some resources to help you to get the best from Git with GitLab.

M
Marcia Ramos 已提交
14 15
## Getting started

16
- [Git concepts](../../university/training/user_training.md#git-concepts)
17
- [How to install Git](how_to_install_git/index.md)
18 19
- [Start using Git on the command line](../../gitlab-basics/start-using-git.md)
- [Command Line basic commands](../../gitlab-basics/command-line-commands.md)
20
- [GitLab Git Cheat Sheet (download)](https://about.gitlab.com/images/press/git-cheat-sheet.pdf)
M
Marcia Ramos 已提交
21 22 23 24
- Commits
  - [Revert a commit](../../user/project/merge_requests/revert_changes.md#reverting-a-commit) 
  - [Cherry-picking a commit](../../user/project/merge_requests/cherry_pick_changes.md#cherry-picking-a-commit)
  - [Squashing commits](../../workflow/gitlab_flow.md#squashing-commits-with-rebase)
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46

**Third-party references:**

- [Getting Started - Git website](https://git-scm.com)
- [Getting Started - Version control](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control)
- [Getting Started - Git Basics](https://git-scm.com/book/en/v2/Getting-Started-Git-Basics)
- [Getting Started - Installing Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- [Git on the Server - GitLab](https://git-scm.com/book/en/v2/Git-on-the-Server-GitLab)

### Concepts

- Article (2017-05-17): [Why Git is Worth the Learning Curve](https://about.gitlab.com/2017/05/17/learning-curve-is-the-biggest-challenge-developers-face-with-git/)
- Article (2016-05-11): [The future of SaaS hosted Git repository pricing](https://about.gitlab.com/2016/05/11/git-repository-pricing/)
- GLU Course (Presentation): [About Version Control](https://docs.google.com/presentation/d/16sX7hUrCZyOFbpvnrAFrg6tVO5_yT98IgdAqOmXwBho/edit?usp=sharing)

## Exploring Git

- [Git Tips & Tricks](https://about.gitlab.com/2016/12/08/git-tips-and-tricks/)
- [Eight Tips to help you work better with Git](https://about.gitlab.com/2015/02/19/8-tips-to-help-you-work-better-with-git/)

## Troubleshooting Git

47
- [Numerous _undo_ possibilities in Git](numerous_undo_possibilities_in_git/index.md)
48
- Learn a few [Git troubleshooting](troubleshooting_git.md) techniques to help you out.
M
Marcia Ramos 已提交
49

M
Marcia Ramos 已提交
50
## Branching strategies
M
Marcia Ramos 已提交
51

52 53 54 55 56 57
- [GitLab Flow](https://about.gitlab.com/2014/09/29/gitlab-flow/)

**Third-party references:**

- [Git Branching - Branches in a Nutshell](https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell)
- [Git Branching - Branching Workflows](https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows)
M
Marcia Ramos 已提交
58 59 60

## Advanced use

61 62 63
- [Custom Git Hooks](../../administration/custom_hooks.md)
- [Git Attributes](../../user/project/git_attributes.md)
- Git Submodules: [Using Git submodules with GitLab CI](../../ci/git_submodules.md#using-git-submodules-with-gitlab-ci)
M
Marcia Ramos 已提交
64 65 66

## API

67
- [Gitignore templates](../../api/templates/gitignores.md)
M
Marcia Ramos 已提交
68 69 70

## Git LFS

71 72
- [Getting Started with Git LFS](https://about.gitlab.com/2017/01/30/getting-started-with-git-lfs-tutorial/)
- [GitLab Git LFS documentation](../../workflow/lfs/manage_large_binaries_with_git_lfs.md)
73
- [Git-Annex to Git-LFS migration guide](../../workflow/lfs/migrate_from_git_annex_to_git_lfs.md)
74
- Article (2015-08-13): [Towards a production quality open source Git LFS server](https://about.gitlab.com/2015/08/13/towards-a-production-quality-open-source-git-lfs-server/)