• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






cwhycwhy

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2019年5月7日

Git常用命令
摘要: 项目错误恢复 方法一: $ echo >> about.html # Appends a newline to about.html $ echo > about.html # overwrite about.html with a newline [website (master)]$ git c 阅读全文
posted @ 2019-05-07 15:07 cwhycwhy 阅读(137) 评论(0) 推荐(0)
 
Prompt branches and tab completion
摘要: 编辑.bash_profile, 加入如下文本: # Git configuration# Branch name in promptsource ~/.git-prompt.shPS1='[\W$(__git_ps1 " (%s)")]\$ 'export PROMPT_COMMAND='echo 阅读全文
posted @ 2019-05-07 10:50 cwhycwhy 阅读(131) 评论(0) 推荐(0)