training:git_commands

This is an old revision of the document!


Git Commands

Please feel free to add to this page! :D

git init Make git folder
git add <filename> Add a file
git remote add <url> Add a remote source
git commit -m “comment” Store
git push origin <branchname> Remote repository
git log See a summary of commits
git status See file changes
git diff Working directory changes
git rm <filename> Remove file
git reset Undo
  • training/git_commands.1453963431.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)