Skip to content

Instantly share code, notes, and snippets.

@kenji0x02
Created May 20, 2013 14:48
Show Gist options
  • Save kenji0x02/5612699 to your computer and use it in GitHub Desktop.
Save kenji0x02/5612699 to your computer and use it in GitHub Desktop.
githubで新しくcloneしたときの初期設定。前提①gitのglobalでのconfigとgithub用のconfigがちがう、前提②sshの鍵はでフォルトのid_rsaから変更していてconfigでHost githubとして設定している。
$ git config user.name 'Kenji'
$ git config user.emai [email protected]
$ vi .git/config
- url = https://github.com/kenji0x02/marico.git
+ url = github:kenji0x02/marico.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment