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
4fb94102
Commit
4fb94102
authored
Nov 06, 2020
by
TaliaNovich
Committed by
Mike Jang
Nov 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Talia novich edits
parent
fdef227c
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 @
4fb94102
...
@@ -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
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:**
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
a
re 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
...
...
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