Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
git jump hlw
→ git switch hello-world
git switch
under the hood, supports all its parameters
npm install -g git-jump
or using Homebrew
brew tap mykolaharmash/git-jump
brew install git-jump
git jump
Run without arguments to launch interactive UI.
git jump
will track the history and sort the list, so that the most recently used branches are at the top and can be accessed faster.git jump <branch name>
Switches to a branch. <branch name>
can be just part of the name, git jump
will look for the best matching branch.
git jump [--list | -l]
Shows a plain list of branches without interactive UI but with sorting.
git jump <any native switch arguments>
You can use git jump
as a drop-in replacement for native git switch
. git jump
will proxy all the argument to the native command, so you don't have to think to use one or the other.
For example git jump my-branch --discard-changes
works just fine.
git jump new <branch name>
Creates a new branch and switches into it. Supports all native parameters of git switch
, for example git jump new <branch name> --track origin/main
.
git jump rename <branch name> <new branch name>
Renames a branch.
git jump delete <branch name> [<branch name>, ...]
Deletes one or multiple branches. No fuzzy matching here, of course 🙂.
It might be disabled by default in your terminal, here is how to make it work in some apps.
In Preferences go to Profiles
, select your profile and go to Keys
. At the bottom set Left Option (⌥) Key
to Esc+
.
In Preferences go to Profiles
, select your profile and go to Keyboard
. Enable Use Option as Meta key
checkbox.
Open .hyper.js
and add next line to the config
section:
modifierKeys: { altIsMeta: true }
FAQs
Git Branches Helper
We found that git-jump demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.