Please enable JavaScript.
Coggle requires JavaScript to display documents.
Git (Tools (git blame (-L <start>,<end>:<file>), git mv …
Git
-
Seting Up
-
git init
- create .git folder
- create master branch
-
-
Saving Changes
-
-
git add
-
. : stages new and modified, without deleted
-u : stages modified and deleted, without new
-
-
Rewriting History
-
git rebase
-
-
- Before pushing to remote
- After reviewing pull request
-
-
-
-
-
-
Core
-
-
Features
Snapshots, Not Differences
-
-
Hints
- The -- parameter is used to tell git that subsequent arguments are file paths and not branch names.
- The ~ character will always follow the first parent of a merge commit.
- If you want to follow a different parent, you need to specify which one with the ^ character.