https://github.com/thomasmerz/git-tools
Some nice scripts for git repositories
https://github.com/thomasmerz/git-tools
bash git
Last synced: about 2 months ago
JSON representation
Some nice scripts for git repositories
- Host: GitHub
- URL: https://github.com/thomasmerz/git-tools
- Owner: thomasmerz
- Created: 2022-12-06T12:09:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-19T10:24:31.000Z (about 1 year ago)
- Last Synced: 2026-03-27T06:31:22.785Z (3 months ago)
- Topics: bash, git
- Language: Shell
- Homepage:
- Size: 37.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project is suitable for:
[](https://en.wikipedia.org/wiki/Linux)
+
[](https://en.wikipedia.org/wiki/MacOS)
and has been
[](https://www.gnu.org/software/bash/)
+
[](https://www.vim.org/)
+❤️
# git-tools
```bash
aliases # some aliases
git-branch-clean.sh # similar to alias githead, but more colorful
git-branches-by-date.sh # Show git branches by date - useful for showing active branches
git_create_upstream.sh # Sync fork - add a local upstream branch with upstream URL
git_log_show # Usage: git_log_show what-to-search filename-to-be-searches
git-open # Type git open to open the repo website in your browser (https://github.com/paulirish/git-open)
git_rebase_upstream.sh # Sync fork - sync my fork from upstream URL via local upstream branch
git_repair_local_copy.sh # "repair" local copy if somebody force-pushed into this branch
git_stash_show.sh # show stash in diff-mode
gitfetchall_and_gitpullall_subdirs.sh # useful for recursive updating local clones/repositories
gitlab-runner.sh # Use GitLab CI to run tests locally
search_in_all_git_branches.sh # search/grep for something in ALL branches
```