0
0

More than 1 year has passed since last update.

コピペで練習 git コミットとプッシュ

Posted at
# コミット
# ファイルの追加・変更
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=""'

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