Skip to content

amex678/git-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

git-tutorial

git の基本操作(clone / commit / push)をデモするためのリポジトリです。

基本コマンド

# リポジトリをクローン
git clone https://github.com/amex678/git-tutorial.git

# 変更をステージング
git add .

# コミット
git commit -m "feat: 変更内容を記述する"

# リモートにプッシュ
git push origin main

ブランチ操作

# 新しいブランチを作成して切り替え
git checkout -b feature/my-branch

# ブランチ一覧を確認
git branch -a

# mainブランチにマージ
git checkout main
git merge feature/my-branch

状態確認

# 変更状態を確認
git status

# コミット履歴を確認
git log --oneline

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages