training:git_commands

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

Authors

Contributing authors:

jobatake kluong

Created by kluong on 2016/01/24 23:32.

  • training/git_commands.txt
  • Last modified: 2021/09/19 21:59
  • (external edit)