# コミット
# ファイルの追加・変更
touch test.txt
mkdir test
touch test/test.txt
sed -i -e 's/パノラマ</パノラマ test</g' views/index.php
git status
git diff
git add .
git status
git commit -m "test commit"
# リモートリポジトリの確認とプッシュ
git remote -v
git push -f origin main
git push -f origin test
# コミットログのメールアドレス変更方法
git log
git log --all --pretty=full --graph
git checkout remotes/origin/HEAD
git checkout remotes/origin/main
git checkout origin/main
git branch -a
git filter-branch -f --env-filter 'export GIT_AUTHOR_EMAIL=""'
git filter-branch -f --env-filter 'export GIT_COMMITTER_EMAIL=""'
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme