# 提交修改

假设learngit仓库下有一个readme.txt文件，内容如下

```
$ cat readme.txt
git is a version control system
git is free software
```

编辑readme.txt文件，添加一行内容，如下

```
$ cat readme.txt
git is a version control system
git is free software
append a new line
```

然后，把修改添加到暂存区

```
$ git add readme.txt
```

然后，提交修改

```
$ git commmit -m "append a new line"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pshizhsysu.gitbook.io/git/ben-di-cang-ku/ban-ben-guan-li/ti-jiao-xiu-gai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
