Skip to content

Commit 22ab15f

Browse files
committed
add doc
Signed-off-by: Long Nguyen <n.h.long.9697@gmail.com>
1 parent 4478a47 commit 22ab15f

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

Documentation/git-psuh.adoc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
git-psuh(1)
2+
===========
3+
4+
NAME
5+
----
6+
git-psuh - Delight users' typo with a shy horse
7+
8+
9+
SYNOPSIS
10+
--------
11+
[verse]
12+
'git-psuh [<arg>...]'
13+
14+
DESCRIPTION
15+
-----------
16+
this program is cool
17+
18+
OPTIONS[[OPTIONS]]
19+
------------------
20+
-n::
21+
--dry-run::
22+
Don't actually remove any objects, only show those that would have been
23+
removed.
24+
25+
OUTPUT
26+
------
27+
...
28+
29+
GIT
30+
---
31+
Part of the git[1] suite

builtin/psuh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ int cmd_psuh(int argc, const char **argv,
3838

3939
printf(_("Your current branch: %s\n"), status.branch);
4040

41-
c = lookup_commit_reference_by_name("origin/master");
41+
c = lookup_commit_reference_by_name("refs/heads/psuh");
4242

4343
if (c != NULL) {
4444
pp_commit_easy(CMIT_FMT_ONELINE, c, &commitline);

0 commit comments

Comments
 (0)