git status
います:ステージング領域にステージングされていないファイルから2番目のファイルを追加する方法はありますか?
On branch sid-x
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: longpath/x.java
modified: longpath/x.html
modified: longpath/x.py
私は私のステージング領域にx.htmlを追加したいと思います。 git add longpath/x.py
を書き出すこととは別に、これを行うためのフラグや方法がありますか?
'git add'を避ける理由は何ですか? – zerkms
あなたは 'git add'や' longpath'を避けようとしていますか? – nullpointer
ステージング領域に 'x.html'を追加したい場合は; 'git add longpath/x.html'を書いたくないということですか? –