You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many projects need versioning. It is always the same: testing, writing the changelog, updating the version, tagging the commit, and finally releasing the new version.
@@ -47,6 +60,12 @@ $ semantic-git-release
47
60
*[sgr](#sgr)
48
61
*[sgr recover](#sgr-recover)
49
62
*[sgr version](#sgr-version)
63
+
64
+
## Options
65
+
66
+
`semantic-git-release-cli` was build to be as simple as possible, so there are just a few options you need to know.
67
+
68
+
*[sgr recover --backup](#sgr-recover---backup)
50
69
*[sgr --help](#sgr---help)
51
70
52
71
### sgr
@@ -75,8 +94,8 @@ With `sgr recover [backup]` you can recover your complete CHANGELOG.md if you ju
75
94
```sh
76
95
# generates the complete CHANGELOG.md
77
96
$ sgr recover
78
-
# generates the complete CHANGELOG.md and creates a backup of the current CHANGELOG.md in .sgr_backup
79
-
$ sgr recover backup
97
+
# generates the complete CHANGELOG.md, and creates a backup of the old one
98
+
$ sgr recover --backup
80
99
```
81
100
82
101
### sgr version
@@ -88,6 +107,15 @@ With `sgr version` you can display the current version of `semantic-git-release-
88
107
$ sgr version
89
108
```
90
109
110
+
### sgr recover --backup
111
+
112
+
With `sgr recover --backup` you can recover your complete CHANGELOG.md, and recover the old CHANGELOG.md to `.sgr_backup`.
113
+
114
+
```sh
115
+
# generates the complete CHANGELOG.md and saves the old CHANGELOG.md to `.sgr_backup`
116
+
$ sgr recover --backup
117
+
```
118
+
91
119
### sgr --help
92
120
93
121
With `sgr --help` you can display usage of `semantic-git-release-cli`.
0 commit comments