git stash 可用来暂存当前正在进行的工作, 比如想pull 最新代码, 又不想加新commit, 或者另外一种情况,为了fix 一个紧急的bug, 先stash, 使返回到自己上一个commit, 改完bug之后再stash pop, 继续原来的工作。 基础命令: $git stash$do some work $git stash pop 进阶: Gitstash save "work in progress ...
no changes added to commit (use "git add" and/or "git commit -a") tmp/git/repo1 $ git rebase -i HEAD^^^ Created autostash: f09e96f HEAD is now at 7c38f4c c4 fatal: Could not open file .git/rebase-merge/done for reading: No such file or directory ...
(-e ".git") { my $git_last_include_commit = `git log --no-merges --pretty=format:"%h%n" -1 -- include`; chomp $git_last_include_commit; $camelcase_cache = ".checkpatch-camelcase.git.$git_last_include_commit"; } else { my $last_mod_date = 0; $files = `find $root/...