我刚在一个文件夹上创建了一个GIT。我现在想通过“暂存”所有文件来添加该文件夹的内容。在GUI中,有没有办法选择所有文件。我有超过4000个文件,一次点击一个文件证明有点痛苦。
答案 0 :(得分:52)
是,
选择项目(选择前一个命中班次,选择下一个)并点击 CTRL T
或者去提交 - >提交阶段
答案 1 :(得分:0)
很晚了,但是一种方法是在“工具”菜单中添加一个选项。
Uncaught Error: Option ‘multiple’ is not allowed for Select2 when attached to a <select> element.
at String.<anonymous> (select2.full.min.js?ver=1.0.5:21)
at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=4.9.9:2)
at d.prepareOpts (select2.full.min.js?ver=1.0.5:21)
at d.prepareOpts (select2.full.min.js?ver=1.0.5:22)
at d.init (select2.full.min.js?ver=1.0.5:21)
at HTMLSelectElement.<anonymous> (select2.full.min.js?ver=1.0.5:22)
at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=4.9.9:2)
at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=4.9.9:2)
at a.fn.init.a.fn.select2 (select2.full.min.js?ver=1.0.5:22)
at initialize (acf-input.min.js?ver=5.7.12:3)
git add *
按钮。现在,单击“工具”>“全部添加”,所有更改都将上演。希望这可以帮助!
答案 2 :(得分:-4)
git add *
或只是
git commit -a -m "your message"
不要乱用GUI。