eg1
Git for mere mortals
Overview
(Run 'eg help --all' for a more detailed list.)
Creating repositories
eg clone
|
Clone a repository into a new directory |
|---|---|
eg init
|
Create a new repository |
Obtaining information about changes, history, & state
eg diff
|
Show changes to file contents |
|---|---|
eg log
|
Show history of recorded changes |
eg status
|
Summarize current changes |
Making, undoing, or recording changes
eg commit
|
Record changes locally |
|---|---|
eg mv
|
Move or rename files (or directories or symlinks) |
eg stage
|
Mark content in files as being ready for commit |
Managing branches
eg branch
|
List, create, or delete branches |
|---|---|
eg merge
|
Join two or more development histories (branches) together |
eg switch
|
Switch the working copy to another branch |
Collaboration
eg pull
|
Get updates from another repository and merge them |
|---|---|
eg push
|
Push local commits to a published repository |
Time saving commands
eg bisect
|
Find the change that introduced a bug by binary search |
|---|---|
eg stash
|
Save and revert local changes, or apply stashed changes |
Additional help:
eg help COMMAND
|
Get more help on COMMAND. |
|---|---|
eg help
|
List more commands (not really all) |
eg help topic
|
List specialized help topics. |
git version 2.28.0.rc1
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 2 times.