https://github.com/hutusi/git-paging
Treat git log as a book, exec `git next` or `git prev` to checkout the next or the previous commit.
https://github.com/hutusi/git-paging
git shell tips tools
Last synced: 8 months ago
JSON representation
Treat git log as a book, exec `git next` or `git prev` to checkout the next or the previous commit.
- Host: GitHub
- URL: https://github.com/hutusi/git-paging
- Owner: hutusi
- License: gpl-3.0
- Created: 2020-10-04T02:32:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-27T21:48:51.000Z (10 months ago)
- Last Synced: 2025-03-22T21:47:54.745Z (8 months ago)
- Topics: git, shell, tips, tools
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 75
- Watchers: 3
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Git Paging
Treat git log as a book, exec `git next` or `git prev` to checkout the next or the previous commit.
## How to install?
1. Clone this repository
2. Execute command : `./install.sh`
or
1. Download the `git-paging-alias.txt`
2. Execute `git config --global --add include.path PATH/git-paging-ali.txt`
## Git alias guidelines
1. `git hist [ or []]` - show all history commits
2. `git swc-first` - switch the first commit
3. `git swc-last` - switch the last commit
4. `git swc-prev` - switch previous commit
5. `git swc-next` - switch next commit
## 像翻页一样跳转到上一(n)条或下一(n)条 Git 历史节点
请查看博客文章 [阅读开源代码小技巧](https://hutusi.com/git-paging) 获得更多使用帮助。