This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:git [2018/08/08 11:06] dave [Merge Squash] |
software:git [2018/09/24 14:19] (current) dave |
||
---|---|---|---|
Line 66: | Line 66: | ||
==== List Remote Branches == | ==== List Remote Branches == | ||
- | After initially cloning a repository, only git is only aware of the the default branch, which is usually ''master''. | + | After initially cloning a repository, git is only aware of the the default branch, which is usually ''master''. |
<code> | <code> | ||
Line 82: | Line 82: | ||
</code> | </code> | ||
+ | ===== Misc Tasks == | ||
+ | |||
+ | ==== Show only the files that are modified as a commit == | ||
+ | |||
+ | This removes the diff lines from the ''show'' command (''+''/''-'' lines): | ||
+ | |||
+ | <code> | ||
+ | $git show <hash> --name-only | ||
+ | </code> | ||
//*Compared to other version control systems.// | //*Compared to other version control systems.// | ||