This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:git_quick_reference [2019/02/27 02:43] marcus.williams created |
tutorials:git_quick_reference [2019/03/01 16:43] marcus.williams [Variations] |
||
---|---|---|---|
Line 22: | Line 22: | ||
[[https://stackoverflow.com/questions/16122234/how-to-commit-a-change-with-both-message-and-description-from-the-command-li|source]] | [[https://stackoverflow.com/questions/16122234/how-to-commit-a-change-with-both-message-and-description-from-the-command-li|source]] | ||
+ | |||
+ | ===== Variations ===== | ||
+ | See modifications within the current directory. | ||
+ | <code> | ||
+ | git status . | ||
+ | </code> | ||
+ | |||
+ | Recursively add files in folder and subfolders. | ||
+ | <code> | ||
+ | git add * | ||
+ | </code> | ||
+ | |||
+ | Push with force. Use with caution. | ||
+ | <code> | ||
+ | git push --force origin master | ||
+ | </code> | ||
+ |