training:git_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

training:git_commands [2016/01/28 02:28]
jobatake [Useful syntax]
training:git_commands [2021/09/19 21:59]
Line 1: Line 1:
-====== Git Commands ====== 
  
-===== Useful syntax ===== 
-Please feel free to add to this page! :D 
- 
-  * Create things: 
-     * Make git folder repository: git init 
-     * Add file: git add <file name> 
-     * Remote folder: git remote add <file name> https://​github.com/​try-git/​try_git.git 
-     * Store: git commit -m"<​thing changed>"​ 
-  * Move things: 
-     * Remote repository: git push 
-  * See changes: 
-     * Summary of changes (ie. delete, add, etc.): git log 
-     * File changes: git status 
-     * Working directory changes: git diff 
-  * Delete/Undo things: 
-     * Remove file: git reset <​directory>/<​filename>​ 
-     * Undo: git checkout — <​filename>​ 
  • training/git_commands.txt
  • Last modified: 2021/09/19 21:59
  • (external edit)