mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
change: deprecate git-back
Thanks @vr8hub for the report. git-back will be removed in the next next release.
This commit is contained in:
parent
b708a8a4d3
commit
3917c774ec
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo >&2 "Deprecated. Use 'git undo --soft [commitcount]' instead."
|
||||
|
||||
if test $# -eq 0; then
|
||||
git reset --soft HEAD~1
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "GIT\-BACK" "1" "October 2017" "" "Git Extras"
|
||||
.TH "GIT\-BACK" "1" "February 2020" "" "Git Extras"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBgit\-back\fR \- Undo and Stage latest commits
|
||||
|
|
@ -10,6 +10,9 @@
|
|||
\fBgit\-back\fR [<commitcount>]
|
||||
.
|
||||
.SH "DESCRIPTION"
|
||||
Deprecated\. Use \'git undo \-\-soft [commitcount]\' instead\.
|
||||
.
|
||||
.P
|
||||
Removes the latest commits, and add their changes to your staging area\.
|
||||
.
|
||||
.SH "OPTIONS"
|
||||
|
|
|
|||
|
|
@ -80,6 +80,8 @@
|
|||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
<p> Deprecated. Use 'git undo --soft [commitcount]' instead.</p>
|
||||
|
||||
<p> Removes the latest commits, and add their changes to your staging area.</p>
|
||||
|
||||
<h2 id="OPTIONS">OPTIONS</h2>
|
||||
|
|
@ -102,7 +104,7 @@
|
|||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Kenneth Reitz <<a href="mailto:me@kennethreitz.com" data-bare-link="true">me@kennethreitz.com</a>></p>
|
||||
<p>Written by Kenneth Reitz <<a href="mailto:me@kennethreitz.com" data-bare-link="true">me@kennethreitz.com</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
@ -115,7 +117,7 @@
|
|||
|
||||
<ol class='man-decor man-foot man foot'>
|
||||
<li class='tl'></li>
|
||||
<li class='tc'>October 2017</li>
|
||||
<li class='tc'>February 2020</li>
|
||||
<li class='tr'>git-back(1)</li>
|
||||
</ol>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ git-back(1) -- Undo and Stage latest commits
|
|||
|
||||
## DESCRIPTION
|
||||
|
||||
Deprecated. Use 'git undo --soft [commitcount]' instead.
|
||||
|
||||
Removes the latest commits, and add their changes to your staging area.
|
||||
|
||||
## OPTIONS
|
||||
|
|
|
|||
Loading…
Reference in a new issue