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
7c26f0f6
Commit
7c26f0f6
authored
Mar 24, 2022
by
Suzanne Selhorn
Committed by
Kati Paizee
Mar 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added commit message image
And retook earlier blurry screenshot
parent
7e8fb276
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
doc/tutorials/img/branches_dropdown_v14_10.png
doc/tutorials/img/branches_dropdown_v14_10.png
+0
-0
doc/tutorials/img/commit_message_v14_10.png
doc/tutorials/img/commit_message_v14_10.png
+0
-0
doc/tutorials/make_your_first_git_commit.md
doc/tutorials/make_your_first_git_commit.md
+15
-9
No files found.
doc/tutorials/img/branches_dropdown_v14_10.png
View replaced file @
7e8fb276
View file @
7c26f0f6
42.8 KB
|
W:
|
H:
54.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/tutorials/img/commit_message_v14_10.png
0 → 100644
View file @
7c26f0f6
4.51 KB
doc/tutorials/
how_git_works
.md
→
doc/tutorials/
make_your_first_git_commit
.md
View file @
7c26f0f6
...
@@ -6,8 +6,9 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -6,8 +6,9 @@ info: To determine the technical writer assigned to the Stage/Group associated w
# Make your first Git commit
# Make your first Git commit
This tutorial is going to teach you a little bit about how Git works, and walk
This tutorial is going to teach you a little bit about how Git works. It walks
you through the steps of creating your own project and editing a file.
you through the steps of creating your own project, editing a file, and
committing changes to a Git repository from the command line.
When you're done, you'll have a project where you can practice using Git.
When you're done, you'll have a project where you can practice using Git.
...
@@ -245,15 +246,20 @@ to merge your branch.
...
@@ -245,15 +246,20 @@ to merge your branch.
You did it! You updated the
`README.md`
file in your branch, and you merged those changes
You did it! You updated the
`README.md`
file in your branch, and you merged those changes
into the
`main`
branch.
into the
`main`
branch.
Let's look in the UI and confirm
i
t.
Let's look in the UI and confirm
your changes. Go to your projec
t.
1.
In your project, scroll down and view
the
`README.md`
file.
-
Scroll down and view the contents of
the
`README.md`
file.
Your changes should be visible.
Your changes should be visible.
1.
Above the list of files, select
**History**
.
-
Above the
`README.md`
file, view the text in the
`Last commit`
column
.
Your commit and commit message should display.
Your commit message is displayed in this column:
Now you can change back to your personal branch (
`git checkout example-tutorial-branch`
)
!
[
Commit message
](
img/commit_message_v14_10.png
)
and continue updating or even creating files. Type
`git status`
to view the status
-
Above the file list, select
**History**
to view your commit details.
Now you can return to the command line and change back to your personal branch
(
`git checkout example-tutorial-branch`
). You can continue updating files or
creating new ones. Type
`git status`
to view the status
of your changes and commit with abandon.
of your changes and commit with abandon.
Don't worry if you mess things up. Everything in Git can be reverted, and if you
Don't worry if you mess things up. Everything in Git can be reverted, and if you
...
...
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