<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # Git file blame > 原文:[https://docs.gitlab.com/ee/user/project/repository/git_blame.html](https://docs.gitlab.com/ee/user/project/repository/git_blame.html) * [Blame previous commit](#blame-previous-commit) * [Associated `git` command](#associated-git-command) * [File blame through the API](#file-blame-through-the-api) # Git file blame[](#git-file-blame "Permalink") 在 GitLab 2.5 中[引入](https://git.sphere.ly/staff/publicgitlab/commit/39c657930625ddc3ac8a921f01ffc83acadce68f) [Git blame](https://git-scm.com/docs/git-blame)提供有關文件中每一行的更多信息,包括最后修改時間,作者和提交哈希. 您可以在項目中的每個文件中找到" **責備"**按鈕. [![File blame button](https://img.kancloud.cn/95/c2/95c23b915273abbf9bc7585a7b485df2_1819x143.png "Blame button")](img/file_blame_button_v12_6.png) 選擇" **責備"**按鈕時,您會看到一個帶有說明信息的屏幕: [![Git blame output](https://img.kancloud.cn/0d/09/0d09305305173c0eeb6bb4ddda2003f4_1285x420.png "Blame button output")](img/file_blame_output_v12_6.png) 如果將鼠標懸停在 UI 中的提交上,您將看到該提交的確切日期和時間. ## Blame previous commit[](#blame-previous-commit "Permalink") 在 GitLab 12.7 中[引入](https://gitlab.com/gitlab-org/gitlab/-/issues/19299) . 要查看特定行的早期修訂,請**在此更改**之前單擊" **查看責備",**直到找到您有興趣查看的**更改**為止: [![Blame previous commit](https://img.kancloud.cn/62/ab/62ab8aeb095c064877a88245e2f2fd8a_2396x398.png "Blame previous commit")](img/file_blame_previous_commit_v12_7.png) ## Associated `git` command[](#associated-git-command "Permalink") 如果從命令行運行`git` ,則等效命令為`git blame <filename>` . 例如,如果你想找到`blame`有關信息`README.md`在本地目錄中的文件,運行以下命令: ``` git blame README.md ``` 您將看到類似于以下內容的輸出,其中包括 UTC 格式的提交時間: ``` 62e2353a (Achilleas Pipinellis 2019-07-11 14:52:18 +0300 1) [![build status](https://gitlab.com/gitlab-org/gitlab-docs/badges/master/build.svg)](https://gitlab.com/gitlab-com/gitlab-docs/commits/master) fb0fc7d6 (Achilleas Pipinellis 2016-11-07 22:21:22 +0100 2) ^764ca75 (Connor Shea 2016-10-05 23:40:24 -0600 3) # GitLab Documentation ^764ca75 (Connor Shea 2016-10-05 23:40:24 -0600 4) 0e62ed6d (Mike Jang 2019-11-26 21:44:53 +0000 5) This project hosts the repository used to generate the GitLab 0e62ed6d (Mike Jang 2019-11-26 21:44:53 +0000 6) documentation website and deployed to https://docs.gitlab.com. It uses the ``` ## File blame through the API[](#file-blame-through-the-api "Permalink") 您也可以通過[Git 文件指責 REST API](../../../api/repository_files.html#get-file-blame-from-repository)來獲取此信息.
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看