2022-10-05
github-book-local-config

為你自己學 Git,是一本我滿喜歡的 git 書籍,我有買了實體書 & 數位版
這邊筆記一下,我由網站上看到的資料

設定

  • 可以每個專案設定不同的作者嗎
  • $ git config --local user.name Sherly $ git config --local user.email sherly@5xruby.tw

Reference

Read More

2022-08-05
multiple-github-account

因為工作切換的關係,目前的公司是用 github enterprise 的版本,所以會遇到同時使用 person account and work account 的情形
就找了一下資料,並加以記錄

Reference

Read More

2022-06-27
git-two-user

公司改為使用 enterprises 的 github 服務,因而會發生和自己的 github account 發生衝突的情形,就找了一下解法囉

commit 到公司的 github 準備工作

  • ssh-add ~/.ssh/id_rsa

commit 到自己的 github 準備工作

  • ssh-add -d

Reference

Read More

2022-05-09
travis-ci-npm-failed

最近在 run travis-ci 時,會出現 error,查了之後發現是 node v18 需要較新的 library 所以會出現 error
目前是先修改 .travis.yml 檔,設定為使用 node v.17 的版本來 build,而不是之前用的 stable 版本

  • 出現的 error message
    node: /lib/x86_64-linux-gnu/libm.so.6: versionGLIBC_2.27’ not found (required by node)
    node: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.25' not found (required by node) node: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.28’ not found (required by node)
    The command “npm config set spin false” failed and exited with 1 during .
    `

Reference

Read More