Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ae8f8ca2
Commit
ae8f8ca2
authored
Nov 06, 2020
by
Mike Jang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'TaliaNovich-edits' into 'master'
Talia novich edits See merge request gitlab-org/gitlab!46817
parents
754a3fca
4fb94102
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/gitlab-basics/command-line-commands.md
doc/gitlab-basics/command-line-commands.md
+6
-6
No files found.
doc/gitlab-basics/command-line-commands.md
View file @
ae8f8ca2
...
...
@@ -7,14 +7,14 @@ type: howto, reference
# 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
learn, in order to make full use of the command line.
## Start working on your project
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.
## Working with files on the command line
...
...
@@ -57,7 +57,7 @@ nano README.md
### Remove a file or directory
It
i
s 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:**
This will
**permanently**
delete a file.
...
...
@@ -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
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
will likely
be asked for an administrator password.
might
be asked for an administrator password.
```
shell
sudo
RESTRICTED-COMMAND
...
...
@@ -108,8 +108,8 @@ damage to your data or system.
## Sample Git taskflow
If you
a
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.
If you
'
re completely new to Git, looking through some
[
sample taskflows
](
https://rogerdudler.github.io/git-guide/
)
may
help you understand the best practices for using these commands as you work.
<!-- ## Troubleshooting
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment