windows git 的powershell 的几个坑
来源:互联网 发布:组策略 网络访问 编辑:程序博客网 时间:2024/06/05 05:11
1. git log 运行后,光标处有时会出现<END> 或 :, 无法运行其他命令,必须ctrl + c 退出。其实这时是进入了page浏览模式, 按 q 退出即可。
2. git revert HEAD运行后出现gitpad的弹出框报错。这时因为没有设置默认编辑器。运行
git config --global core.editor "\"c:\Program Files\Notepad++\notepad++.exe\" %*"或
即可设置默认编辑器(参考: http://stackoverflow.com/questions/10564/how-can-i-set-up-an-editor-to-work-with-git-on-windows)。git config --global core.editor "'C:/Program Files/Vim/vim72/gvim.exe' --nofork '%*'"
快捷git命令设置(C:\Documents and Settings\Administrato.gitignore) (http://gitimmersion.com/lab_11.html)
[alias] co = checkout ci = commit st = status br = branch hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short type = cat-file -t dump = cat-file -p
- windows git 的powershell 的几个坑
- powershell的几个技巧
- windows 7 使用 powershell 的几个本地操作常用命令
- [12]Windows PowerShell DSC学习系列---PowerShell DSC的几个例子
- 易學易用的 Windows PowerShell
- 功能强大的Windows PowerShell
- 关于windows powershell的想法
- Windows PowerShell的常见命令
- 常用的Windows PowerShell 命令
- 易学易用的Windows PowerShell
- 关于Windows PowerShell的想法(二)
- Windows Server 2008中PowerShell的使用
- 易学易用的Windows PowerShell
- 易学易用的Windows PowerShell
- 不一样的命令行 – Windows PowerShell简介
- 不一样的命令行 – Windows PowerShell简介
- Windows PowerShell 中的自动变量的列表
- Windows 7新的命令行PowerShell
- Eric4入门教程
- 快速输入自定义短语
- 集合复习
- 26个提升java性能需要注意的地方
- Rest application/json 乱码问题
- windows git 的powershell 的几个坑
- Chromium进程间的通信机制浅析(android版本)(三)
- CCNA学习笔记#03第8章路由协议原理
- 【百度地图API】如何制作可拖拽的沿道路测距
- 8种常见的Java不规范代码
- HDU 4289
- 七禧舞曲管理系统 ASP版上传漏洞
- Row Movement 对系统的影响
- 视频接口大全(HDMI、DVI、VGA、RGB、分量、S端子、USB接口)