---
title: "How to force overwrite local changes with 'git pull'"
url: https://daily.dev/posts/how-to-force-overwrite-local-changes-with-git-pull--b6xzr-tou
source_url: https://devdojo.com/smpnjn/how-to-force-overwrite-local-changes-with-git-pull
type: article
source: "DevDojo"
author: "Johnny"
published: 2022-08-25T07:37:01.316Z
updated: 2022-08-25T07:37:01.249Z
tags: ["git"]
reading_time: 3
upvotes: 3
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to force overwrite local changes with 'git pull'

**[DevDojo](https://daily.dev/sources/devdojo)** · [@smpnjn](https://daily.dev/smpnjn) · 3 min read · 3 upvotes · 0 comments

## Summary

How to force overwrite local changes with 'git pull' Have you ever been working on a project in git and ran into an error telling you that you can't use git pull because you have local changes? error: Untracked working tree file 'App.vue' would be overwritten by merge.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devdojo.com/smpnjn/how-to-force-overwrite-local-changes-with-git-pull>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#git](https://daily.dev/tags/git)

[View this post on daily.dev](https://daily.dev/posts/how-to-force-overwrite-local-changes-with-git-pull--b6xzr-tou)
