Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (26 loc) · 1.6 KB

README.md

File metadata and controls

49 lines (26 loc) · 1.6 KB

Algorithm

あるごりBの最終課題用リポジトリ

<ファイル名の形式>

ファイル名_自分の名前.c みたいに自分の名前を含める!!(コンフリクト対策)

============================

ブラウザからやったり、GitHub Desktop使ったり色々あると思うのでやりやすいやつで!!一応Git bashのやり方だけ下に書いときます

============================

<Gitに最初に参加する時のざっくり手順(git bash使用時)>

1.今回の課題用に適当なフォルダーを1つ作る。(自分はdocumentの中に作った)

2.git bashで、作ったフォルダーまでcdで移動。

  1. 以下のコマンドを実行

  git clone https://github.com/Yuta-Goto/Algorithm.git

※ここで今作ったフォルダーの下にAlgorithmというフォルダーが出来ると思うので、ここでそちらに移動。青色の(main)が横につくはず

  1. ★cloneが終わってから★自分の作ったファイルを今作ったフォルダーに移動する。

  2. git add .

  3. git commit -m "メッセージ"

  4. git push -u origin

======================

<普段のpushまでの手順>

  1. 別フォルダーでコード作る

  2. git bashでgit管理しているフォルダーに行って、git pull

  3. 作ったコードをgit管理しているフォルダーにコピー。

  4. git add .

  5. git commit -m "メッセージ"

  6. git push -u origin