Skip to content

Latest commit

 

History

History
31 lines (30 loc) · 541 Bytes

File metadata and controls

31 lines (30 loc) · 541 Bytes

git

  • git init
  • git status
  • git remote add origin https://..../name-repo.git
  • git remote -v
  • git status
  • git diff
  • git add .
  • git diff --cached
  • git status
  • git reset HEAD nameFile
  • git status
  • git add nameFile
  • git status
  • git commit -m "message"
  • git status
  • git pull
  • git push -u origin master
  • git push
  • git status
  • git checkout -b develop
  • git branch -a
  • git status
  • git checkout master
  • git merge develop
  • git status
  • git checkout fileName
  • git status
  • git reset --HARD (caution, dangerous!)
  • git status