git-account-switch-ssh
Version:
Git Account Switch (SSH)
174 lines (111 loc) • 13.9 kB
Markdown
## [1.2.4](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.2.3...v1.2.4) (2025-05-20)
### Bug Fixes
* dependencies ([#54](https://github.com/eric-vandenberg/git-account-switch-ssh/issues/54)) ([56ea33d](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/56ea33db13455ce9d3bdf943f90ab542a9543c18))
## [1.2.3](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.2.2...v1.2.3) (2024-10-08)
### Bug Fixes
* deploy ([#53](https://github.com/eric-vandenberg/git-account-switch-ssh/issues/53)) ([c5bd84f](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/c5bd84fffc2da61dc62e41458cbef88de5d1146e))
## [1.2.2](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.2.1...v1.2.2) (2024-09-26)
### Bug Fixes
* dependency vulnerabilities ([#52](https://github.com/eric-vandenberg/git-account-switch-ssh/issues/52)) ([befe8f1](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/befe8f1baf87d47ff1d761c562c13737560886b6))
### Reverts
* access async ([#50](https://github.com/eric-vandenberg/git-account-switch-ssh/issues/50)) ([e894ac1](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/e894ac19148550594b1418578e5762ac3c916d46))
## [1.2.1](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.2.0...v1.2.1) (2024-05-18)
### Bug Fixes
* triggering build with minor cleanup ([40cbc97](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/40cbc97a7ae779a7b9ae6da61837fbfa81fea458))
### Reverts
* removing linux support since printing key breaks instructions note ([b5e5b34](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/b5e5b348a5fccb2a57e69212b3ba22375d82599a))
# [1.2.0](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.1.5...v1.2.0) (2024-05-17)
### Bug Fixes
* formatting ([f381d7b](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/f381d7b46690a392bb2954a20a177c848861cd5b))
### Features
* add editorconfig ([0d9027e](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/0d9027ed0b98f6e29be8994e7202396e5f1c9747))
* add prettierrc ([f10d9ee](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/f10d9eee0d110c4d0a6a05799e6573f5372bf92e))
## [1.1.5](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.1.4...v1.1.5) (2024-05-16)
### Bug Fixes
* update the lock version on release ([baa1229](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/baa12291a52bffab978829657c6c43d9d5bc3d30))
## [1.1.4](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.1.3...v1.1.4) (2024-05-12)
### Bug Fixes
* read package json from bundle ([d9f3f15](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/d9f3f15a7f6fb0bd20ca9039eb87994c9c5768ac))
## [1.1.3](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.1.2...v1.1.3) (2024-05-12)
### Bug Fixes
* handle case for account names with hyphens ([af68dfa](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/af68dfae99d1ee5f3f9c6406cc01801f926afd0f))
## [1.1.2](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.1.1...v1.1.2) (2024-05-10)
### Bug Fixes
* ignore unconnected accounts that default to global user ([d8e1409](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/d8e14096cd91a828e8740cb94bdbf8bcbd6e4d3e))
## [1.1.1](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.1.0...v1.1.1) (2024-05-09)
### Bug Fixes
* only create new cache entry if keys were successfully linked ([0eb0784](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/0eb078411e489a5e851eb45ee058ca4a29524275))
# [1.1.0](https://github.com/eric-vandenberg/git-account-switch-ssh/compare/v1.0.0...v1.1.0) (2024-05-09)
### Bug Fixes
* stdout outro prints account instead of user ([86f53f6](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/86f53f6af34b8415f67fa1a1a00b964b3f45f105))
### Features
* custom bundle with tsup config ([7a593df](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/7a593df2ed59047291f4027aeb7f56257a2b5362))
* new gifs optimized ([72c9345](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/72c93459c1290b956373a3c822700d1cc5d88d4d))
# 1.0.0 (2024-05-08)
### Bug Fixes
* adjust intro if restoring ([6be5fe5](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/6be5fe582d4422faf74475d0881db2dc54840f39))
* bug in changing dir ([1e8fe98](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/1e8fe9839cd540559223bbf8abaf3d691412f286))
* catch blocks ([b8adbcf](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/b8adbcfcffd39b3d7c986172ca0f550426069ca6))
* check for confirmed true ([2d45fa5](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/2d45fa50ae63fe2fb177a05c348260c3c55a6835))
* check for ssh-agent & start ([8e15cbf](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/8e15cbf51d519754cfcf1bb9da6836d3ac4b08d1))
* clean up ([9958e65](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/9958e65fe13537c4035e0feef9616c56f355506b))
* clean up git repo check ([8d24644](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/8d24644dcf9fbc1879d007ce1729f622729c5302))
* clean up ssh checks ([6305735](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/6305735802929f7bda33963805c2292a92531aaa))
* clean up ssh config check ([2b8b6d6](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/2b8b6d60eb09252e045d917b8f16254c5f2e8796))
* clean up ssh keys check ([bdc6d2c](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/bdc6d2cf4048ca59a17e32957bf90d634f8d3f84))
* cleanup double quotes & imports & regex ([545305b](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/545305b978ee88a163171462d43fac8e4152110f))
* confirm prompt and logging ([4ce36bb](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/4ce36bb7ee489f7553dabe324854ddf3a49b37f9))
* duplicate hostname in ssh config ([0e83241](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/0e83241afc8db2d9fc43597961a2bd54c7eebdf9))
* extract git user name & email with regex ([7e4dc18](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/7e4dc18e9de8b5374816452297cec296e5d84ba1))
* formatting with prettier ([ed2bca6](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/ed2bca6b3680de733fc59f3d786aa546d1224028))
* github workflow pin node major 20 and use v4 ([68ddbff](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/68ddbff028f1702c2d8083937e87aa4e1094df09))
* identity file check and use ICache ([7efd3b4](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/7efd3b40e26c934b14679652e9660844a11f7e9f))
* misconfiguration in repository url ([1334298](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/133429804d25619bd41aeb3d5eb751cf09839c03))
* missing await ([a33a772](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/a33a772dab99321257b226701010c1d9c4ec7420))
* revert local gifs ([aba4f5c](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/aba4f5cc96fc491e63ad3a426c4ac1ad6529c535))
* rework git user check for missing files ([c3f82d2](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/c3f82d27ab4cc749fe22fdfa79f535d6b813226d))
* shorten intro ([b430339](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/b430339035539a73cb9477478e4f4a0fbf5bac16))
* try img tags ([dd2734b](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/dd2734b0c1ff9a6382f142e7ac350c395b34aedf))
* typo ([f25c161](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/f25c161d9de1bf1d5be8d4f6b6204befe3aa6663))
* update link to add ssh gif ([a08038e](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/a08038e107cdc5119acdb7767e0e175dd44a5af7))
* update local script ([27b1fe0](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/27b1fe00f9b9ffd4641d9f2d1b20b349b6fc4ca6))
* update README.md gifs ([4eefdb4](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/4eefdb497d948d3d872a7c468f5f05fee352cdfd))
* use ICache interface ([be0ccc3](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/be0ccc339f198a196767f37e8455e92245454804))
* use npm ([2952005](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/2952005296d4716c9bb7b19e8b240a46a8564781))
* whitespace ([ef846be](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/ef846be0e944d6237bba3da9cff2e239db06d83a))
### Features
* add host symbols and constants ([53e421d](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/53e421de201dc870dc5ae260a52dda36c8f8dc8e))
* add keychain symbols ([b96cee1](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/b96cee1c02fa036b578147ca4d60f4f897100c08))
* add local assets ([83d8908](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/83d8908ae57bedd63b32eabf088aab6b5e591460))
* add new ssh user ([f791b18](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/f791b18e69f6fb2140b5e731bd48f8fa9333bd9e))
* add os check util ([829c8e3](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/829c8e3cdb2786248eb123bda1c06eb729362d82))
* add readme gifs ([b0b57a4](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/b0b57a44f1f047d527d568566e6bcba1cca3e71e))
* add ssh config overwrite util ([14a408e](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/14a408e681f8ac21efc6639c5b9a9771a7c20789))
* add ssh user check util ([48da33d](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/48da33d837345a5227a30443d159638a69a4760f))
* allow for cli arg restore ([ce76848](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/ce768488ee1e7d71f76593c1e82c02863dc2eeb1))
* check ssh config backup util ([6732a1e](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/6732a1e751a704b95f40a626ef2f717968435c03))
* cli banner ([e8fc132](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/e8fc132bc66a829b3365a44e4486b1ab79b1f4f1))
* clone a repo with selected ssh user & link for new commits ([99a1be6](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/99a1be6e98698019d0d78c36f41788654ff1ed18))
* custom color scheme & enhanced stdout ([b026e31](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/b026e31cccdb1c2cee3c8267f27c50ceea25ec34))
* delete gas cache util ([43668a1](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/43668a1a3ede27662a05ed3dbb51541fc3b086e5))
* delete ssh keys util ([fb289da](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/fb289da282c4d8c913e4056e170f51ef60e00f2d))
* existing user setup for repo ([8c63440](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/8c6344042d0b1eefc60b94a9b7cb6f8f6720571b))
* gas cache ([62da52a](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/62da52a03fdf123d73e18bebbec9a94d09703dfb))
* git user check ([54a7725](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/54a772595355276c461212c526ccdaabd948f4d8))
* initialize with file system info ([a20da4b](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/a20da4bdd37176bf4d1cb59aef06c757f19a1676))
* new base64 banner with gradient-string ([561c896](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/561c896eaeae711436f6db424489a353476a37e4))
* optional add passphrase to keychain ([d4999a6](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/d4999a64c1912ff6186866755f7e7c4a8fb41644))
* readme description ([2279740](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/22797402cd723da0078e8dcf0cdf60aa91eb20f4))
* readme init ([cc25438](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/cc25438100c92216c6741bdf1e57b34f03f77e0c))
* remove keys and identities ([439b525](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/439b525fd5ef3ff7a2b86bd8e0618940ffce4a76))
* restore ssh config to original ([7cecfcd](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/7cecfcd9a39b370c98c7101585cac937f9201606))
* safety check to avoid duplicating ssh users ([3ccf929](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/3ccf9294f069dca4505d46bb47a6c8fa9f91cf1a))
* setup a gitlab user & check for existing ([0f37777](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/0f37777b464675d67e73d1dd2b3bb6e0f4619513))
* setup deploy pipeline to publish on npm ([46166d1](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/46166d153115b6054e34f3e48f0eba9d47b1212b))
* show linked account if already set ([c86ee0a](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/c86ee0a67030b2e2c0e53b07ccc8fd88b5d32e2a))
* ssh config backup ([64d0c1d](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/64d0c1da15000bfabb578faf497962af9df9506a))
* ssh config check ([807e2ce](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/807e2cebe802110791d27fbb13c8f66c6c79759f))
* ssh keys check ([6ab6a6b](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/6ab6a6bc16bc587b54db61482fb3cb71e9aa02f4))
* ssh keyscan to known hosts util ([4663f60](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/4663f60bffc650dd64e6ae2f2a2be2d8fc485ca9))
* ssh user link ([a5175bc](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/a5175bcb6c23cf6b37024a6a322e8f1f26c1b254))
* wire up prechecks & ssh user check ([1f3e4e8](https://github.com/eric-vandenberg/git-account-switch-ssh/commit/1f3e4e83c375f9917daab293403b8ee5cced59d5))