Setting up git

  • git config --global user.name <your name>
  • git config --global user.email <your e-mail>
  • git config --global push.default simple

Setting up trust

run the command (in windows run dialog)
notepad %USERPROFILE%\.ssh\id_rsa.pub 
and mail the content to me: karl.gustav.roksund@accenture.com





if that file doesn't exists(in git-bash):
ssh-keygen 

First command(ment):


git clone ssh://git@54.247.55.231/home/git/repo.git

""Simple""

  • init 
  • clone
  • add (-p)
  • reset (simple)
  • commit (-p) (-v)
  • --amend
  • log --graph
  • checkout -b
  • push/pull
  • revert
  • blame (-C)
  • stash

Branches



Advanced!

  • reset (Advanced)
  • rebase -i
  • merge --no-ff
  • cherry-pick
  • bisect

Advanced branches


ENDORSE me for Git


Git

By pylinux

Git

  • 955