作者热门文章
- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
<分区>
有时在我提交之后,我发现我遗漏了一个文件,该文件也应该包含在提交中,但实际上没有。我经常再次犯:
git add the_left_out_file
git commit "include the file which should be added in the last commit"
我认为这样做可能不是一个好主意。我只想包含文件而不添加提交。像这样,
git add the_left_out_file
git add_staged_files_to_previous_commit
这可能吗?
我是一名优秀的程序员,十分优秀!