Editing Git status
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: | ||
{{lowercase}} | {{lowercase}} | ||
− | + | <code>[[git]] status</code> | |
− | + | * https://git-scm.com/docs/git-status | |
− | |||
Steps: <code>[[git add]]</code> -> <code>[[git commit]]</code> -> <code>[[git push]]</code> | Steps: <code>[[git add]]</code> -> <code>[[git commit]]</code> -> <code>[[git push]]</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
git status | git status | ||
Line 22: | Line 10: | ||
No commits yet | No commits yet | ||
− | + | Changes to be committed: | |
(use "git rm --cached <file>..." to unstage) | (use "git rm --cached <file>..." to unstage) | ||
Line 29: | Line 17: | ||
new file: new_file_3.txt | new file: new_file_3.txt | ||
+ | git status | ||
+ | On [[branch master]] | ||
+ | nothing to commit, working tree clean | ||
git status | git status | ||
Line 35: | Line 26: | ||
nothing to commit, working tree clean | nothing to commit, working tree clean | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
git status | git status | ||
fatal: not a git repository (or any of the parent directories): .git | fatal: not a git repository (or any of the parent directories): .git | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == | ||
− | |||
* <code>[[git add]]</code>, <code>[[git commit]]</code> | * <code>[[git add]]</code>, <code>[[git commit]]</code> | ||
* <code>[[git init]]</code>, <code>[[git remote]]</code> | * <code>[[git init]]</code>, <code>[[git remote]]</code> | ||
* <code>[[Master]]</code> | * <code>[[Master]]</code> | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | |||
* {{git}} | * {{git}} | ||
[[Category:Git]] | [[Category:Git]] |
Advertising: