解决Git报错fatal: bad object HEAD
背景某次工作时,在本地”dev”分支开发完,准备往本地”master”分支上合并。当我自信的敲下: 1git checkout master 然后,问题出现了。。。。 123456789101112131415161718# 这里隐藏相关文件名error: Your local changes to the following files would be overwritten by checkout: **/*.go **/*.sh **/ ...Please commit your changes or stash them before you switch branches.Aborting# 中间有个交互,问我是否继续,我当时由于看到这一堆报错,就没看前面的信息,按下了“n”# 然后再敲git命令时,就报了这个错,且大部分操作仓库的命令都无法使用。。。。 git status fatal: bad object HEAD git log fatal: bad object HEAD...
tldr:一款命令使用提示工具
tldr tldr: Too long, Don’t read,太长不想阅读。显示命令的常见用法,比–help或者man这些传统手册更便捷、更便于使用。 为什么使用tldr linux命令太多,很难记得住,有一些当时用到,后面大部分情况下不会用到,但是用到又需要去谷歌,有点麻烦。 一般linux的命令都支持-help或者man, 但是你实际上在使用这两个命令去查看需要的命令选项时,犹如大海捞针,信息及其繁多,很难找到自己想要的选项。 虽然man命令可以通过/或者?,来搜索文章信息,但实际上也不一定能够猜到对应的英文单词。 tldr命令只会显示一些常用命令的使用示例,相当与一个笔记。 安装 ubuntu下:apt install tldr ,如果没有安装权限,加上sudo。 win下:npm install -g tldr 其余环境不在列出,可以参考官网或者执行谷歌解决。 官网 参考 运行安装完成之后,直接使用tldr <command>就可以显示对用命令的常见用法。例如: 1234567891011121314151617181920212...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
codewater first post hexo
测试网站收录的情况谷歌和百度站点








