Skip to content

1. First, let's check the status of our working tree: git status#435

Open
medeju wants to merge 1 commit intogithubtraining:mainfrom
medeju:main
Open

1. First, let's check the status of our working tree: git status#435
medeju wants to merge 1 commit intogithubtraining:mainfrom
medeju:main

Conversation

@medeju
Copy link
Copy Markdown

@medeju medeju commented Apr 4, 2026

  1. Move the file from the working tree to the staging area: git add my-file.md
  2. Let's see what happened: git status
  3. Now let's take our first snapshot: git commit
  4. Git will open your default text editor to request a commit message. Simply type your message on the top line of the file. Any line without a # will be included in the commit message.
  5. Save and close the commit message
  6. Let's take another look at our repository status: git status

2. Move the file from the working tree to the staging area: git add my-file.md
3. Let's see what happened: git status
4. Now let's take our first snapshot: git commit
5. Git will open your default text editor to request a commit message. Simply type your message on the top line of
the file. Any line without a # will be included in the commit message.
6. Save and close the commit message
7. Let's take another look at our repository status: git status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant