Header Ads

Header ADS

Top Use Git Commands

  • git --version (check git version)
  • git config --global user.name "Name here"
  • git config --global user.email "abc@example.com"
  • git config --list

  • git init
  • git status
  • git add filename
  • git commit(press i for insert commit, press Esc key for insert option close, 
  • press clone key and x key for exit)
  • git log(git log for show commit)
  • git add. (all file track)
  • git commit -m "massage"
  • git log
  • git clone
  • git show
  • git diff
  • gti reset
  • git rm(git rm for delete file)
  • git remote -v
  • git branch -a
  • git branch branchname
  • git checkout branchname
  • git branch --merged
  • git branch -d branchname
  • git stash save "message
  • git stash list"
  • git pull origin master

  • git push

No comments

Theme images by 5ugarless. Powered by Blogger.