Editing Git
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<code>[[wikipedia:git (software)|git]]</code> ([[2005]]) is a distributed [[revision control software]]. | <code>[[wikipedia:git (software)|git]]</code> ([[2005]]) is a distributed [[revision control software]]. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
=== Git Installation === | === Git Installation === | ||
# Download Git from https://git-scm.com/downloads. | # Download Git from https://git-scm.com/downloads. | ||
− | # Install Git. (MacOS: <code> | + | # Install Git. (MacOS: <code>brew install git</code>) |
# apt install git or apt install [[git-all]] | # apt install git or apt install [[git-all]] | ||
Line 52: | Line 39: | ||
{{git log}} | {{git log}} | ||
− | === | + | === Git show === |
* <code>[[git show]] 3c88ad72430</code> | * <code>[[git show]] 3c88ad72430</code> | ||
Line 63: | Line 50: | ||
* <code>git log --decorate=full --simplify-by-decoration</code> | * <code>git log --decorate=full --simplify-by-decoration</code> | ||
* Print lines matching a pattern:<code>git grep TEXT_TO_SEARCH</code> | * Print lines matching a pattern:<code>git grep TEXT_TO_SEARCH</code> | ||
− | * <code> | + | * <code>git merge</code><ref>https://dev.to/neshaz/how-to-use-git-merge-the-correctway-25pd</ref> |
− | |||
== Tips and Tricks == | == Tips and Tricks == | ||
Line 81: | Line 67: | ||
* <code>[[git stash]]</code> | * <code>[[git stash]]</code> | ||
* [[GitBook]] | * [[GitBook]] | ||
− | |||
== Related software == | == Related software == |
Advertising: