Skip to content

Latest commit

 

History

History
executable file
·
43 lines (27 loc) · 1.27 KB

README.md

File metadata and controls

executable file
·
43 lines (27 loc) · 1.27 KB

Git Kata: Configuring git

1. Git Initial Configuration

  1. git config --global user.name "John Doe"
  2. git config --global user.email "[email protected]

For the vim scared:

  • git config --global core.editor nano

For the windows peeps:

  • git config --global core.editor notepad

or alternatively:

  • git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

Aliases

You can set up aliases as such:

  • git config --global alias.lol 'log --oneline --graph --all'

This might be useful to you.

2. Downloading and Installing on Windows

ssh-keygen -t rsa -b 4096 -C "[email protected]"

This generates public/private keys in %USERPROFILE%/.ssh (named id_rsa.pub)

The public key can then be uploaded to your repo server: For GitHub this is a section in user settings. For BitBucket server this is SSH Keys under Manage Account

Git clone ssh://[email protected]/praqma-training/gitkatas.git