Skip to content

Instantly share code, notes, and snippets.

@jlevon
Created June 27, 2019 15:34
Show Gist options
  • Save jlevon/f6ec3e7b63a9cf9e0419d2227e2c7c58 to your computer and use it in GitHub Desktop.
Save jlevon/f6ec3e7b63a9cf9e0419d2227e2c7c58 to your computer and use it in GitHub Desktop.
resetting haproxy-1.5

Add the module back:

echo '[submodule "deps/haproxy-1.5"]
>        path = deps/haproxy-1.5
>        url = https://github.com/joyent/haproxy-1.5.git
>        branch = joyent/v1.5.19
> ' >>.gitmodules
git add .gitmodules
git commit -m 1

Now officially remove it:

git submodule deinit -f deps/haproxy-1.5
git rm deps/haproxy-1.5
git commit -m 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment