LoginSignup
1
0

More than 5 years have passed since last update.

初めてのGCP(google cloud platform) part0 (git関連)

Posted at

gcp使用する上でgitは不可欠なのでメモ
どっかからgit cloneしたときの話

◆自分のgitリモート環境にpushしたい

①git clone どこかの.git
②ローカルでごにょごにょ
③自分のgitリポジトリ作成
④git remote add origin【自分のgitリポジトリ.git】
※ここでエラーでたら現在 origin環境に別環境がセットされてるので削除するー
⑤git remote rm origin
→これでスッキリ
⑥ もういちど④を行うとリモートリポジトリ先変更(追加)完了
⑦cat .git/configとかで確認できるよー。
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0