Git#
Setup#
|
set a name that is identifiable for credit when review version history |
|
set an email address that will be associated with each history marker |
|
set automatic command line coloring for Git for easy reviewing |
Initialisation#
|
initialize an existing directory as a Git repository |
|
retrieve an entire repository from a hosted location via URL |
|
set automatic command line coloring for Git for easy reviewing |
Stage & Snapshot#
|
show modified files in working directory, staged for your next commit |
|
add a file as it looks now to your next commit (stage) |
|
unstage a file while retaining the changes in working directory |
|
diff of what is changed but not staged |
|
diff of what is staged but not yet committed |
|
commit your staged content as a new commit snapshot |
Branch & Merge#
|
list your branches. a * will appear next to the currently active branch |
|
create a new branch at the current commit |
|
switch to another branch and check it out into your working directory |
|
merge the specified branch’s history into the current one |
|
show all commits in the current branch’s history |