-
git stash
保存当前的工作进度。会分别对暂存区和工作区的状态进行保存
-
git stash save "message..."
这条命令实际上是第一条 git stash 命令的完整版
| (function(window, jetbrick) { | |
| /** | |
| * 获取整个document最大可用的 zIndex | |
| * | |
| * @returns {Number} | |
| */ | |
| jetbrick.zIndex = function() { | |
| var nodes = window.document.getElementsByTagName("*"); | |
| var max = 0; | |
| for (var i = 0; i < nodes.length; i++) { |
| (function(window, $, jetbrick) { | |
| /** | |
| * Get the current script's URL by throwing an `Error` and analyzing it. | |
| * | |
| * @returns String or `undefined` | |
| * @private | |
| */ | |
| var getCurrentScriptUrlFromErrorStack = function(stack) { | |
| var url, matches; | |
| if (typeof stack === "string" && stack) { |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| <style> | |
| .zero-clipboard { | |
| position: relative; | |
| } | |
| .btn-clipboard { | |
| position: absolute; | |
| top: 0; | |
| right: 0; | |
| z-index: 10; | |
| display: block; |