Difference between revisions of "Git status"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
new file: new_file_2.txt | new file: new_file_2.txt | ||
new file: new_file_3.txt | new file: new_file_3.txt | ||
− | |||
− | |||
git status | git status | ||
Line 31: | Line 29: | ||
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 == |
Revision as of 14:30, 17 September 2021
git status
Steps:git add
->git commit
->git push
git status On branch master No commits yet Changes to be committed: (use "git rm --cached <file>..." to unstage) new file: new_file_1.txt new file: new_file_2.txt new file: new_file_3.txt
git status On branch master nothing to commit, working tree clean
git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean
git status fatal: not a git repository (or any of the parent directories): .git
Related terms
See also
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
Advertising: