Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Improve the sentence on line 31 #28668

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion git/intermediate_git/working_with_remotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ git log

```

Huh, that's interesting. We don't see our fourth file on our local system. Let's check our GitHub repository to see if it's there.
Huh, that's interesting. We can’t find our fourth file on our local system. Let's check our GitHub repository to see if it's there.

Oh no, we just destroyed it! In this scenario, the danger - you could potentially destroy the work of those you're collaborating with! `git push --force` is a **very dangerous command, and it should be used with caution when collaborating with others**. Instead, you can fix your outdated history error by updating your local history using `fetch`, `merge`, and then attempting to `push` again.

Expand Down
Loading