You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A level to show that the commit isn't necessarily the same as the working directory.
Start with no commits. The working directory will have a file in it, and the file will be added to the staging area, but it will have only part of the updates. The updates can be made in the next commit.
git gud status at the beginning
Working Directory
hello.txt - "Hello world"
Staging Area
hello.txt - "Hello"
The operating system lets us check when the file was modified, so we'll have to save that information and use it when checking to see if the level has been completed. If the user edits the file at any point, the message provided by git gud test would be something like Looks like the commits are right, but we see that you've modified the file at some point during the level. Please use "git gud reset" to start over.
The text was updated successfully, but these errors were encountered:
A level to show that the commit isn't necessarily the same as the working directory.
Start with no commits. The working directory will have a file in it, and the file will be added to the staging area, but it will have only part of the updates. The updates can be made in the next commit.
git gud status
at the beginninggit gud status
at the endThe operating system lets us check when the file was modified, so we'll have to save that information and use it when checking to see if the level has been completed. If the user edits the file at any point, the message provided by
git gud test
would be something likeLooks like the commits are right, but we see that you've modified the file at some point during the level. Please use "git gud reset" to start over.
The text was updated successfully, but these errors were encountered: