File: 06-Commenting.html

package info (click to toggle)
gcli 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,096 kB
  • sloc: ansic: 19,013; makefile: 312; yacc: 261; sh: 142; lex: 53
file content (70 lines) | stat: -rw-r--r-- 2,071 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>

<html>
	<head>
	<title>GCLI Tutorial | Interacting and commenting</title>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
	<link rel="prev" href="05-Creating-an-issue.html" />
	<link rel="next" href="{{NEXTURL}}" />
	<!-- Shamelessly stolen from: http://bettermotherfuckingwebsite.com/ -->
	<style>
		body {
			margin:5% auto;
			background: #f2f2f2;
			color: #444444;
			font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
			font-size: 16px;
			line-height: 1.8;
			text-shadow: 0 1px 0 #ffffff; max-width: 73%;
		}
		pre {
			line-height: 1.0;
		}
		a {
			border-bottom: 1px solid #444444;
			color: #444444;
			text-decoration: none;
		}
		a:hover {
			border-bottom: 0;
		}
	</style>
</head>

<body>
<nav style=text-align:right>
<a href="05-Creating-an-issue.html" title="Creating an issue">⇐ Previous</a>
<a href="index.html">Table of contents</a>
</nav>
<hr />
<h1>Commenting</h1>
<p>Discussions on Github and the like are done through comments. You can
comment on issues and pull requests.</p>
<h2>Reviewing a discussion</h2>
<p>Say you were looking at an issue in curl/curl:</p>
<pre><code>$ gcli issues -o curl -r curl -i 11461 comments
</code></pre>
<h2>Create the comment</h2>
<p>And now you wish to respond to this thread:</p>
<pre><code>$ gcli comment -o curl -r curl -i 11461
</code></pre>
<p>This will now open the editor and lets you type in your message.
After saving and exiting gcli will ask you to confirm. Type 'y' and
hit enter:</p>
<pre><code>$ gcli -t github comment -o curl -r curl -i 11461
You will be commenting the following in curl/curl #11461:

Is this okay? [yN] y
$
</code></pre>
<h2>Commenting on pull requests</h2>
<p>When you want to comment under a pull request use the <code>-p</code> flag
instead of the <code>-i</code> flag to indicate the PR number.</p>
<br />
<hr />
<nav style=text-align:right>
<a href="05-Creating-an-issue.html" title="Creating an issue">⇐ Previous</a>
<a href="index.html">Table of contents</a>
</nav>
</body>
</html>