在git添加过程中,不同选项的完整形式是什么
把这个大块头[y,n,q,a,d,/,s,e,,] 我只是y-是,n-不是,q-退出 其他的是什么 我可以将特定的hunk(工作目录)重置为上次提交的版本吗?给你:在git添加过程中,不同选项的完整形式是什么,git,version-control,Git,Version Control,把这个大块头[y,n,q,a,d,/,s,e,,] 我只是y-是,n-不是,q-退出 其他的是什么 我可以将特定的hunk(工作目录)重置为上次提交的版本吗?给你: y : stage this hunk n : do not stage this hunk q : quit; do not stage this hunk nor any of the remaining ones a : stage this hunk and all l
y : stage this hunk
n : do not stage this hunk
q : quit; do not stage this hunk nor any of the remaining ones
a : stage this hunk and all later hunks in the file
d : do not stage this hunk nor any of the later hunks in the file
g : select a hunk to go to
/ : search for a hunk matching the given regex
j : leave this hunk undecided, see next undecided hunk
J : leave this hunk undecided, see next hunk
k : leave this hunk undecided, see previous undecided hunk
K : leave this hunk undecided, see previous hunk
s : split the current hunk into smaller hunks
e : manually edit the current hunk
? : print help
你总是可以和我一起去吗?获取帮助。使用
?
获取所有符号的含义
您可以使用git checkout-p
仅供参考,git reset
也需要一个-p
,以防你想一个接一个地解套