...
The output of git status
will look something like this:
Code Block |
---|
$ git status Ondiff branch master Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: file2.py no changes added to commit (use "git add" and/or "git commit -a")--git a/file2.py b/file2.py index b9a7216..6b6dcff 100644 --- a/file2.py +++ b/file2.py @@ -1,2 +1,3 @@ #!/usr/bin/env python print ("This is file2.py") +print ("New line ") |
The files listed as "changed but not updated" are files that you have modified but not yet added to the repository. "Untracked files" are files that have not previously been added to the repository.
...