How do I run a git command in Linux?

Nam Phong

New member
How do I run a git command in Linux?
Answer
Git Commands
  1. git add. Usage: git add [file] …
  2. git commit. Usage: git commit -m “[ Type in the commit message]” …
  3. git diff. Usage: git diff. …
  4. git reset. Usage: git reset [file] …
  5. git log. Usage: git log. …
  6. git branch. Usage: git branch. …
  7. git checkout. Usage: git checkout [branch name] …
  8. git push. Usage: git push [variable name] master.
 

Tìm kiếm

Back
Top