Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting Started With Git

codebar
November 18, 2014

Getting Started With Git

introductory talk for git

codebar

November 18, 2014
Tweet

More Decks by codebar

Other Decks in Technology

Transcript

  1. Git Commands to memorize $git init $git status $git add

    . $git commit –m “first commit” $git log
  2. Git Configure $ git config -- global user.name “Najam awan”

    $ git config -- global user.email “[email protected]” $ git config --global color.ui auto
  3. Put your repo on diet ## Ignore Visual Studio temporary

    files, build results, and ## files generated by popular Visual Studio add-ons. # User-specific files *.suo *.user *.sln.docstates JumpStartPakistan/JumpStartPakistan.Web/Uploads/
  4. SSH Key $ ssh-keygen -t rsa -C "[email protected]" # Creates

    a new ssh key, using the provided email as a label # Generating public/private rsa key pair. # Enter file in which to save the key (/c/Users/you/.ssh/id_rsa): [Press enter] Enter passphrase (empty for no passphrase): [Type a passphrase] # Enter same passphrase again: [Type passphrase again] Your identification has been saved in /c/Users/you/.ssh/id_rsa. # Your public key has been saved in /c/Users/you/.ssh/id_rsa.pub. # The key fingerprint is: # 01:0f:f4:3b:ca:85:d6:17:a1:7d:f0:68:9d:f0:a2:db [email protected]