LoginSignup
0
0

More than 1 year has passed since last update.

GitHub を登録

Last updated at Posted at 2022-07-30

まずはユーザー名(GitHubに登録したもの)を登録

$ git config --global usr.name "ユーザー名"

メールアドレス(GitHubに登録したもの)を登録

$ git config --global user.email "メールアドレス"

mergeの際にファストフォワードが起きないようにする設定

$ git config --global merge.ff false

pullの際に毎回リベースする設定

$ git config --global pull.rebase merges

設定ができているかを確認

$ git config --list


credential.helper=osxkeychain
user.name="name"
user.email=email
core.editor=code --wait
alias.ci=commit
alias.st=status
alias.br=branch
alias.co=checkout
credential.helper=cache --timeout=86400
usr.name=name
merge.ff=false
pull.rebase=merges

このように表示されればOK

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