Git commands
1. Configuration
Check git configuration
1 |
|
Setup git username, email
Repository configuration
1 2 |
|
Global configuration
1 2 |
|
2. Branch
List branches
Local
1 |
|
Remote
1 |
|
Rename branch
Local
1 |
|
Remote
1 2 |
|
Delete branch
Local
1 |
|
Remote
1 |
|
Create branch
1 |
|
3. Revert
Revert specific commit
1 |
|
Revert file to specific commit
1 |
|
4. Rebase
Rebase interactive mode
1 |
|
5. Submodule
Add submodule
1 2 3 |
|
Update submodule
1 |
|
Adjust commit date
1 |
|