githubのpush

git add .
git commit -m "update"
git push

今、どのブランチにいるのか調べる

git branch

ブランチ移動

git switch main

ブランチ駆除

git branch -d k-sato

ブランチを初めて切った直後に初めてのPUSH

git push -u origin <作ったブランチ名>
claude --model fable

ただし、チーム開発をする場合には履歴が毎回「update」になってしまうので、お勧めしません。個人開発ならOKかな。

git clone https://github.com/shonan-gold/uraku-next.git
npm install

react-icons

npm install react-icons

パッケージジェイソンを書き換え、その内容をインストール

npm install

GITHUBの最初の初期化&コミット

git init
git add .
git commit -m "first commit"
git status
git add "app/page/[page]/page.tsx"
git commit -m "fix: correct props typing for dynamic route page"
git push origin main

中身があるカラムにも有効

UPDATE "hoday-facilitys"
SET city = (
  SELECT id FROM city
  WHERE name = '恵那市' AND pref = 'gifu'
)
WHERE "address1" LIKE '%恵那市%' AND "address1" LIKE '%岐阜県%';

カラのカラムにのみ有効

UPDATE "hoday-facilitys"
SET city = (
  SELECT id FROM city
  WHERE name = '恵那市' AND pref = 'gifu'
)
WHERE "address1" LIKE '%恵那市%' AND "address1" LIKE '%岐阜県%' AND city IS NULL;

コメント

タイトルとURLをコピーしました