Skip to content

se-nitech/diff-patch-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitのサンプル

起動

docker compose build
docker compose up -d

gitのバージョン

docker compose exec myubuntu git --version

gitの設定

docker compose exec myubuntu bash
git config --global user.name "Your Name"
git config --global user.email your@email.address.com

gitリポジトリの初期化

git init your_repository_name
cd your_repository_name/

ステージングとコミット

git add main.py
git commit -m "your commit lot" main.py

ログ表示

git log

作業ディレクトリの状態

git status

コミット間差分

git diff

ブランチ名の変更

git branch -M main

ブランチの作成

git branch new_branch_name

ブランチの切り替え

git branch branch_name

停止

docker compose down

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages