0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

聞いたことはあるけど触ったことはなかったGit

Posted at

はじめに

GitやGithubは聞いたことあるけど触ったことがありませんでした。エンジニア転職する上で必要不可欠だと思ったので、このままではいけないと思い、学習を始めました!

そもそもGitってなに?

Gitとは、コードの変更履歴を管理するバージョン管理システムです。チーム開発や、過去の状態に戻したりできます。

使用頻度が高そうなGitコマンド

コマンド 説明
git init Gitリポジトリを作る
git add <file> ファイルをステージングする
git commit -m "コメント" コミット(変更を記録)する
git push origin main GitHubにpush(アップロード)する
git pull origin main GitHubからpull(取得)する
git status 現在の状態を確認する
git log コミット履歴を見る

さいごに

GitやGithubを初めて触ってみて、まだしたことはないですがチーム開発などでは頻繁に使われる理由がわかりました。
まだ理解度は全然浅いので継続してGitの学習も進めたいと思います!

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?