mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
[doc] Fix creds-check reference to use --global
Change-Id: I13d952aea5e0e0dd74175aa8e7442356ade63f4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6444536 Commit-Queue: Allen Li <ayatane@chromium.org> Reviewed-by: Gavin Mak <gavinmak@google.com>
This commit is contained in:
@@ -977,9 +977,8 @@ commands:</p></div>
|
||||
<div class="sectionbody">
|
||||
<div class="listingblock">
|
||||
<div class="content">
|
||||
<pre><code><strong><span class="white">$</span></strong> # Set up auth in Git config
|
||||
<strong><span class="white">$</span></strong> # In your home directory:
|
||||
<strong><span class="white">$ git cl creds-check</span></strong>
|
||||
<pre><code><strong><span class="white">$</span></strong> # Set up auth in Git config:
|
||||
<strong><span class="white">$ git cl creds-check --global</span></strong>
|
||||
|
||||
<strong><span class="white">$</span></strong> # get the code
|
||||
<strong><span class="white">$</span></strong> # In an empty directory:
|
||||
@@ -1465,7 +1464,7 @@ EOF
|
||||
<span style="font-weight: bold; color: #BFBFBF">$ git map</span>
|
||||
* <span style="color: #FF5555"></span><span style="font-weight: bold; color: #FF5555">d2902efc4d</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span> <span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">(</span><span style="font-weight: bold; color: #8BE9FD"></span><span style="font-weight: bold; color: #8BE9FD">HEAD -> chap3</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">) </span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #F1FA8C">2014-04-10</span> ~ beginning of chapter 3
|
||||
* <span style="color: #FF5555"></span><span style="font-weight: bold; color: #FF5555">d4a945118e</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span> <span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">(</span><span style="font-weight: bold; color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">chap2</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">) </span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #F1FA8C">2014-04-10</span> ~ Finish chapter 2
|
||||
* <span style="color: #FF5555"></span><span style="font-weight: bold; color: #FF5555">59cdb7335b</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span> <span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">(</span><span style="font-weight: bold; color: #FF5555">origin/master</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">, </span><span style="font-weight: bold; color: #FF5555">origin/HEAD</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">, </span><span style="font-weight: bold; color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">fix_typo</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">) </span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #F1FA8C">2014-04-10</span> ~ Refactor data interchange format. <(<span style="color: #BFBFBF"></span><span style="font-weight: bold; color: #BFBFBF">chap2, fix_typo</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span>)
|
||||
* <span style="color: #FF5555"></span><span style="font-weight: bold; color: #FF5555">59cdb7335b</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span> <span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">(</span><span style="font-weight: bold; color: #FF5555">origin/master</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">, </span><span style="font-weight: bold; color: #FF5555">origin/HEAD</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">, </span><span style="font-weight: bold; color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">fix_typo</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #50FA7B"></span><span style="font-weight: bold; color: #50FA7B">) </span><span style="font-weight: bold"></span><span style="font-weight: bold"></span><span style="color: #F1FA8C">2014-04-10</span> ~ Refactor data interchange format. <(<span style="color: #BFBFBF"></span><span style="font-weight: bold; color: #BFBFBF">fix_typo, chap2</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span>)
|
||||
* <span style="color: #FF5555"></span><span style="font-weight: bold; color: #FF5555">34676a3583</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span> <span style="color: #F1FA8C">2014-04-10</span> ~ Ensure FS is exited for all not-in-same-page navigations.
|
||||
* <span style="color: #FF5555"></span><span style="font-weight: bold; color: #FF5555">7d4784e867</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span> <span style="color: #F1FA8C">2014-04-10</span> ~ Add best chapter2 ever!
|
||||
* <span style="color: #FF5555"></span><span style="font-weight: bold; color: #FF5555">5d26fec369</span><span style="font-weight: bold"></span><span style="font-weight: bold"></span> <span style="color: #F1FA8C">2014-04-10</span> ~ Finish chapter 2
|
||||
@@ -1627,7 +1626,7 @@ by checking out the <a href="https://chromium.googlesource.com/chromium/tools/de
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated
|
||||
2025-04-08 21:53:21 UTC
|
||||
2025-04-09 23:42:05 UTC
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: depot_tools_tutorial
|
||||
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
|
||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||||
.\" Date: 04/08/2025
|
||||
.\" Date: 04/09/2025
|
||||
.\" Manual: Chromium depot_tools Manual
|
||||
.\" Source: depot_tools 82ff119a1
|
||||
.\" Source: depot_tools 41d6af4d2
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "DEPOT_TOOLS_TUTORIAL" "7" "04/08/2025" "depot_tools 82ff119a1" "Chromium depot_tools Manual"
|
||||
.TH "DEPOT_TOOLS_TUTORIAL" "7" "04/09/2025" "depot_tools 41d6af4d2" "Chromium depot_tools Manual"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -259,9 +259,8 @@ If you have never used git before, you\(cqll need to set some global git configu
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fB$\fR # Set up auth in Git config
|
||||
\fB$\fR # In your home directory:
|
||||
\fB$ git cl creds\-check\fR
|
||||
\fB$\fR # Set up auth in Git config:
|
||||
\fB$ git cl creds\-check \-\-global\fR
|
||||
|
||||
\fB$\fR # get the code
|
||||
\fB$\fR # In an empty directory:
|
||||
|
||||
@@ -151,9 +151,8 @@ TL;DR
|
||||
-----
|
||||
[postsubs="quotes"]
|
||||
----
|
||||
[white]**$** # Set up auth in Git config
|
||||
[white]**$** # In your home directory:
|
||||
[white]**$ git cl creds-check**
|
||||
[white]**$** # Set up auth in Git config:
|
||||
[white]**$ git cl creds-check --global**
|
||||
|
||||
[white]**$** # get the code
|
||||
[white]**$** # In an empty directory:
|
||||
|
||||
Reference in New Issue
Block a user