Difference between revisions of "Git status"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
<code>[[git]] status</code>
 
<code>[[git]] status</code>
 
* https://git-scm.com/docs/git-status
 
* 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>

Revision as of 12:11, 17 April 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
fatal: not a git repository (or any of the parent directories): .git


Related terms

See also

Advertising: