
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
git bd
mimics git branch
in usage but git bd
creates a new working directory for each branch you create. The combination of a branch and working directory is what I refer to as a branchdir. Branchdirs allow you to have multiple branches checked out at once.
Put git-bd
and git-new-workdir
in your PATH
and ensure it is executable.
Source bd.bashrc
in your ~/.bashrc
to add Bash completion for git bd
and to add a Bash function, bd
, to switch between branchdirs.
To setup a repo to use git bd --init
.
For example:
mkdir git-bd
git clone https://github.com/nnutter/git-bd.git master
cd master
git bd --init
Remember, almost everything that happens in Git can be undone. Don't panic!
git merge
or git pull
with git pull --rebase
you will probably regret it.git branch
and git bd
you will probably regret it.npm install -g git-bd
Run these commands if you installed globally with -g
echo PATH=\$PATH:`npm -g list --parseable git-new-workdir | head -n1` >> ~/.bashrc
echo . `npm -g list --parseable git-bd | head -n1`/bd.bashrc >> ~/.bashrc
Run these commands if you installed locally without -g
echo PATH=\$PATH:`npm list --parseable git-bd | head -n1` >> ~/.bashrc
echo PATH=\$PATH:`npm list --parseable git-new-workdir | head -n1` >> ~/.bashrc
echo . `npm list --parseable git-bd | head -n1`/bd.bashrc >> ~/.bashrc
git-branchdir-manager
This assumes you did not override $GB_DEV_BRANCH
, $GB_MASTER_DIR_NAME
, or $GB_MASTER_BRANCH
which default to master
, .gb_master
, and gb_master
respectively.
.gb_master
which you should keep..gb_master
to master
.master
.git checkout master
.git bd --init
. When prompted you may want to convert existing branches to branchdirs. This will recreate the branchdirs you just removed but will also setup the tracking git-bd
needs to be aware of them.git branch -D gb_master
.FAQs
A new working directory for each git branch.
The npm package git-bd receives a total of 2 weekly downloads. As such, git-bd popularity was classified as not popular.
We found that git-bd 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.