Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vantaboard/git-return
A tool for getting back to work.
https://github.com/vantaboard/git-return
Last synced: about 1 month ago
JSON representation
A tool for getting back to work.
- Host: GitHub
- URL: https://github.com/vantaboard/git-return
- Owner: vantaboard
- License: mit
- Created: 2022-06-02T20:52:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-10T17:32:56.000Z (over 2 years ago)
- Last Synced: 2024-10-08T09:01:13.050Z (3 months ago)
- Language: Python
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Git Return ↩️
A script to easily return you to the default branch and start anew!
## Worktrees
To use worktrees, run `git config core.gitreturnworktree true`.## Usage
You can use `git_return setup` to start setting up the utility.
`git_return` will take you to the default branch and begin updating based
on your package manager. Then offer you to create a new branch.`git_return --prev` lets you return to the branch made prior to the current branch.
`git_return --next` lets you go to the branch made after the current branch.Note: only works with `git_return` created branches.
Note: the above functions only print the branches from before and after if you are using worktrees.