Hi, I'm Doug. Nice to meet you!
I like to keep busy learning new things (like Ansible), working with PostgreSQL, automating my home with Home Assistant, or breaking my Linux box in new and interesting ways.
gwt - a Git worktree wrapper
License: GNU General Public License v2.0
Hi, I'm Doug. Nice to meet you!
I like to keep busy learning new things (like Ansible), working with PostgreSQL, automating my home with Home Assistant, or breaking my Linux box in new and interesting ways.
╭─doug@nuc ~ ‹main✔›
╰─➤ gwt
/srv/repos/priv-all-ansible-roles
↳ /home/doug/.cache/ansible-compat/875b93/old-rev 4b5e15fe0 (detached HEAD)
↳ /home/doug/.cache/ansible-compat/e805db/old-rev 013388bf3 (detached HEAD)
these should be deleted and git worktree prune
run to get rid of them
jchancojr@rubicon:~/Repos/priv-all-ansible-roles/.trees/something_something_darkside_pgconfig$ gwt create priv-all-ansible-roles 1_dot_14 upstream/v1_14-STABLE
gwt: Checking if upstream is a fetchable remote
gwt: Fetching remote: upstream
gwt: Checking if v1_14-STABLE is a valid head on upstream remote
gwt: Creating worktree
Preparing worktree (new branch '1_dot_14')
warning: refname 'upstream/v1_14-STABLE' is ambiguous.
fatal: ambiguous object name: 'upstream/v1_14-STABLE'
gwt: Creating the worktree FAILED !!
I'd like to be able to install this via brew
if the 3rd arg has a /
(e.g. doug/foo) or a :
(e.g. hunleyd:foo) then that's an upstream reference and we should handle that
# Update the index
git update-index -q --ignore-submodules --refresh
err=0
# Disallow unstaged changes in the working tree
if ! git diff-files --quiet --ignore-submodules --
then
echo >&2 "cannot $1: you have unstaged changes."
git diff-files --name-status -r --ignore-submodules -- >&2
err=1
fi
# Disallow uncommitted changes in the index
if ! git diff-index --cached --quiet HEAD --ignore-submodules --
then
echo >&2 "cannot $1: your index contains uncommitted changes."
git diff-index --cached --name-status -r --ignore-submodules HEAD -- >&2
err=1
fi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.