training:git_commands

This is an old revision of the document!


Git Commands

Please feel free to add to this page! :D

  • Create empty git folder: git init
  • Update files: git status
  • Add file: git add <file name>
  • Summary (see if delete, add, etc.): git log
  • Remote folder: git remote add <file name> https://github.com/try-git/try_git.git
  • Remove file: git reset <directory>/<filename>
  • Store: git commit
  • Difference in working directory: git diff
  • Undo: git checkout — <filename>
  • Remote repository: git push
  • training/git_commands.1453946825.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)