diff options
author | karen Carias <karen@gitlab.com> | 2015-08-25 21:57:10 -0700 |
---|---|---|
committer | karen Carias <karen@gitlab.com> | 2015-08-25 21:57:10 -0700 |
commit | 9d40457766d3f7154780d57deb787d3e87934b49 (patch) | |
tree | d163824bb04e1ce1adc44154a9db155f8ce6be8b /doc/gitlab-basics | |
parent | 7140e800ee701a8d4b117590107f26ca23ce0e60 (diff) | |
download | gitlab-ce-9d40457766d3f7154780d57deb787d3e87934b49.tar.gz |
added new commands
Diffstat (limited to 'doc/gitlab-basics')
-rw-r--r-- | doc/gitlab-basics/basic-git-commands.md | 2 | ||||
-rw-r--r-- | doc/gitlab-basics/command-line-commands.md | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/gitlab-basics/basic-git-commands.md b/doc/gitlab-basics/basic-git-commands.md index 2b5767dd2d3..172568b5a1d 100644 --- a/doc/gitlab-basics/basic-git-commands.md +++ b/doc/gitlab-basics/basic-git-commands.md @@ -34,6 +34,8 @@ You'll see your changes in red when you type "git status". ``` git add CHANGES IN RED git commit -m "DESCRIBE THE INTENTION OF THE COMMIT" +or +git commit -am "DESCRIBE THE INTENTION OF THE COMMIT WITH AN ADDITIONAL MESSAGE" ``` ### Send changes to gitlab.com diff --git a/doc/gitlab-basics/command-line-commands.md b/doc/gitlab-basics/command-line-commands.md index b03cca4029c..5d22e29a86b 100644 --- a/doc/gitlab-basics/command-line-commands.md +++ b/doc/gitlab-basics/command-line-commands.md @@ -72,3 +72,11 @@ You will be asked for an administrator’s password. ``` sudo ``` + +### Tell where you are +``` +pwd +``` + +### Open new command line window +Press `command + t` on your keyboard. |