Bi0T1N's GitHub Page

Some (hopefully) useful information

View on GitHub

Short Git HowTo

Installation

Download latest git release and install.

Configuration

  1. set global username for commits
    • git config --global user.name "Bi0T1N"
  2. set global e-mail address for commits (hiding private e-mail)
    • git config --global user.email "Bi0T1N@users.noreply.github.com"
  3. generate SSH key
    • ssh-keygen -t rsa -b 4096 -C "Bi0T1N@users.noreply.github.com"
  4. verfiy ssh agent is running
    • eval $(ssh-agent -s)
  5. add ssh key to agent
    • ssh-add ~/.ssh/<id_rsa name>
  6. copy ssh key content to clipboard to add it on github website
    • clip < ~/.ssh/<id_rsa.pub file>
  7. load ssh key always when starting git console
    • nano ~/.ssh/config
    • add following code to it
      Host github.com
      IdentityFile ~/.ssh/<id_rsa name>
      
  8. test ssh connection
    • ssh -T git@github.com

GitHub workflow via terminal through hub

  1. download hub release
  2. extract everything
  3. add directory with hub.exe to your path environment
    • Windows -> System -> Advanced Settings -> Environment Variables
    • add your path
  4. enjoy

Example workflow:

NOTE: After forking, you only need to repeat the last two steps for new contributions.

Add new functions to git/cmd.exe

Add executable to your $PATH variable: