summaryrefslogtreecommitdiff
path: root/doc/gitlab-basics
diff options
context:
space:
mode:
authorMarcia Ramos <virtua.creative@gmail.com>2019-01-23 17:09:19 +0000
committerMarcia Ramos <virtua.creative@gmail.com>2019-01-23 17:09:19 +0000
commit07030da37a9fb601ff49681a7dbee0bdc19275ca (patch)
tree65b584122416b6555bebfd2107e2bdb6f6251cd1 /doc/gitlab-basics
parentccf97bef370692022a85b9b5b8a290346ee3abd6 (diff)
downloadgitlab-ce-07030da37a9fb601ff49681a7dbee0bdc19275ca.tar.gz
Add brief description, fix typo, comply with docs style guide
Diffstat (limited to 'doc/gitlab-basics')
-rw-r--r--doc/gitlab-basics/start-using-git.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/gitlab-basics/start-using-git.md b/doc/gitlab-basics/start-using-git.md
index e352eee174f..e30afdf8a40 100644
--- a/doc/gitlab-basics/start-using-git.md
+++ b/doc/gitlab-basics/start-using-git.md
@@ -68,18 +68,21 @@ git config --global --list
## Basic Git commands
+Start using Git via the command line with the most basic
+commands as described below.
+
### Clone a repository
To start working locally on an existing remote repository,
-clone it with `git clone <repository path>`. By cloning a
-repository, you'll download a copy of its files in your
-local computer, preserving the Git connection with the
-remote repository.
+clone it with the command `git clone <repository path>`.
+By cloning a repository, you'll download a copy of its
+files into your local computer, preserving the Git
+connection with the remote repository.
You can either clone it via HTTPS or [SSH](../ssh/README.md).
If you chose to clone it via HTTPS, you'll have to enter your
credentials every time you pull and push. With SSH, you enter
-your credentials once and can pull and push straight away.
+your credentials once and can pull and push straightaway.
You can find both paths (HTTPS and SSH) by navigating to
your project's landing page and clicking **Clone**. GitLab
@@ -88,8 +91,8 @@ and paste in your command line.
As an example, consider a repository path:
-* `https://gitlab.com/gitlab-org/gitlab-ce.git`
-* `git@gitlab.com:gitlab-org/gitlab-ce.git`
+- HTTPS: `https://gitlab.com/gitlab-org/gitlab-ce.git`
+- SSH: `` git@gitlab.com:gitlab-org/gitlab-ce.git ``
To get started, open a terminal window in the directory
you wish to clone the repository files into, and run one
@@ -113,7 +116,6 @@ folder named after the project's name.
You can then navigate to the directory and start working
on it locally.
-
### Go to the master branch to pull the latest changes from there
```bash