summaryrefslogtreecommitdiffstatshomepage
path: root/doc/md/git-bug_version.md
blob: a2569aff160794b6b145f62397804c52ebec5412 (plain) (blame)
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
## git-bug version

Print version information

### Synopsis


Print version information.

Format:
  git-bug <version> [commit[/dirty]] <compiler version> <platform> <arch>

Format Description:
  <version> may be one of:
  	- A semantic version string, prefixed with a "v", e.g. v1.2.3
  	- "undefined" (if not provided, or built with an invalid version string)

  [commit], if present, is the commit hash that was checked out during the
  build. This may be suffixed with '/dirty' if there were local file
  modifications. This is indicative of your build being patched, or modified in
  some way from the commit.

  <compiler version> is the version of the go compiler used for the build.

  <platform> is the target platform (GOOS).

  <arch> is the target architecture (GOARCH).


```
git-bug version [flags]
```

### Examples

```
git bug version
```

### Options

```
  -h, --help   help for version
```

### SEE ALSO

* [git-bug](git-bug.md)	 - A bug tracker embedded in Git