LoginSignup
0
0

More than 5 years have passed since last update.

はじめてのC++【45日目】

Posted at

はじめに

皆様アドバイスありがとうございます。
コードの設計がダメダメで、自分でも迷走中です。

.gitignore

次のリポジトリを作るときにまた作ると思うので、ここにメモしておく。

.gitignoreの作り方

.gitignore
#コメントはこのように書く
*消したいディレクトリ
*消したいファイル

commit済みのファイルを消したいときに使うコマンド

ターミナル
$ git rm -r --cached 消したいファイル
# --cached は、リモートリポジトリにあるファイルを消して、ローカルリポジトリには残しておくというオプション
# git rm -r ファイル名 ならローカルリポジトリのファイルも消えてしまうので注意が必要
.
.
.
# 処理を終えたら,
$ git add -A
$ git commit -m コメント書く
$ git push origin master

終わりに

今日は時間があまり取れなかった。
ロベールやるやる詐欺してるけど、明日は時間があるので明日こそはロベールをやる。

0
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
0
0