[当我命令git rebase -i]时无法编辑textedit>

问题描述 投票:-1回答:1

我在本地实践git rebase -i。我用这个命令。

git rebase -i HEAD~7

输出在这里。

pick 8631468 add test6.txttor to close the file... 
pick 10c300c test1-1
pick 93ebed2 test1-2
pick 3de0f6c test1-3
pick 44bc475 test1-4
pick 4432c1b test1-5
pick bb194e9 remove stash

# Rebase 97ac5cc..bb194e9 onto 97ac5cc (7 commands)
#
# Commands:
# p, pick <commit> = use commit
# r, reword <commit> = use commit, but edit the commit message
# e, edit <commit> = use commit, but stop for amending
# s, squash <commit> = use commit, but meld into previous commit
# f, fixup <commit> = like "squash", but discard this commit's log message
# x, exec <command> = run command (the rest of the line) using shell
# b, break = stop here (continue rebase later with 'git rebase --continue')
# d, drop <commit> = remove commit
# l, label <label> = label current HEAD with a name
# t, reset <label> = reset HEAD to a label
# m, merge [-C <commit> | -c <commit>] <label> [# <oneline>]
# .       create a merge commit using the original merge commit's
# .       message (or the oneline, if no original merge commit was
# .       specified). Use -c <commit> to reword the commit message.
#
# These lines can be re-ordered; they are executed from top to bottom.
#
# If you remove a line here THAT COMMIT WILL BE LOST.
#
# However, if you remove everything, the rebase will be aborted.
#
# Note that empty commits are commented out
Successfully rebased and updated refs/heads/branch1.

我想编辑textedit。但是texteditor被迫完成并且重新设置成功。我该如何编辑文字?请帮助。

我在本地练习了git rebase -i。我用这个命令。 git rebase -i HEAD〜7输出在这里。选择8631468添加test6.txttor以关闭文件...选择10c300c test1-1选择93ebed2 test1-2选择...

git rebase
1个回答
0
投票

默认情况下,TextEdit不会使命令行在继续之前等待您关闭文件。

© www.soinside.com 2019 - 2024. All rights reserved.