Skip to content
代码片段 群组 项目
提交 ae8f8ca2 编辑于 作者: Mike Jang's avatar Mike Jang
浏览文件

Merge branch 'TaliaNovich-edits' into 'master'

Talia novich edits

See merge request gitlab-org/gitlab!46817
No related branches found
No related tags found
无相关合并请求
...@@ -7,14 +7,14 @@ type: howto, reference ...@@ -7,14 +7,14 @@ type: howto, reference
# Edit files through the command line # Edit files through the command line
When [working with Git from the command line](start-using-git.md), you will need to When [working with Git from the command line](start-using-git.md), you need to
use more than just the Git commands. There are several basic commands that you should use more than just the Git commands. There are several basic commands that you should
learn, in order to make full use of the command line. learn, in order to make full use of the command line.
## Start working on your project ## Start working on your project
To work on a Git project locally (from your own computer), with the command line, To work on a Git project locally (from your own computer), with the command line,
first you will need to [clone (copy) it](start-using-git.md#clone-a-repository) to first you need to [clone (copy) it](start-using-git.md#clone-a-repository) to
your computer. your computer.
## Working with files on the command line ## Working with files on the command line
...@@ -57,7 +57,7 @@ nano README.md ...@@ -57,7 +57,7 @@ nano README.md
### Remove a file or directory ### Remove a file or directory
It is easy to delete (remove) a file or directory, but be careful: It's easy to delete (remove) a file or directory, but be careful:
DANGER: **Warning:** DANGER: **Warning:**
This will **permanently** delete a file. This will **permanently** delete a file.
...@@ -96,7 +96,7 @@ for example) . Execute the same full command with: ...@@ -96,7 +96,7 @@ for example) . Execute the same full command with:
Not all commands can be executed from a basic user account on a computer, you may Not all commands can be executed from a basic user account on a computer, you may
need administrator's rights to execute commands that affect the system, or try to access need administrator's rights to execute commands that affect the system, or try to access
protected data, for example. You can use `sudo` to execute these commands, but you protected data, for example. You can use `sudo` to execute these commands, but you
will likely be asked for an administrator password. might be asked for an administrator password.
```shell ```shell
sudo RESTRICTED-COMMAND sudo RESTRICTED-COMMAND
...@@ -108,8 +108,8 @@ damage to your data or system. ...@@ -108,8 +108,8 @@ damage to your data or system.
## Sample Git taskflow ## Sample Git taskflow
If you are completely new to Git, looking through some [sample taskflows](https://rogerdudler.github.io/git-guide/) If you're completely new to Git, looking through some [sample taskflows](https://rogerdudler.github.io/git-guide/)
will help you understand the best practices for using these commands as you work. may help you understand the best practices for using these commands as you work.
<!-- ## Troubleshooting <!-- ## Troubleshooting
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册