LoginSignup
3
4

More than 5 years have passed since last update.

xcodeでlocal gitを作り忘れた時のメモ

Posted at

xcodeでlocal gitを作り忘れた時のメモ

たまに忘れるので書いとく

ターミナルで.xcodeprojの拡張子のあるiOSプログラミングのフォルダーまで移動する
以下のコマンドを実行する

git init

以下のコマンドで追加するファイルを確認

git status

ファイル追加

git add .

コメント付きでコミット

git commit -m "commit"

最後にXcodeを再起動すればローカルgitが出来てるはずなのであとはいつも通り
githubにコミットする手順を踏めばコミットできるはず

3
4
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
3
4