I compile my own build with dnsproxy and I had already updated it to 0.74.1 by myself, now this package is also up to date in master, so when I try to update my whole compilation with git pull and ./scripts/feeds update -a && ./scripts/feeds install -a, I got error , do you know how to resolve it?
thanks, even if I commit or stash nothing happens.
From https://git.openwrt.org/feed/packages
2516d2b..99a4a0f master -> origin/master
Updating 2516d2b..99a4a0f
error: Your local changes to the following files would be overwritten by merge:
net/dnsproxy/Makefile
Please commit your changes or stash them before you merge.
Aborting
failed.
james@Flint2/main$ git stash
No local changes to save
james@Flint2/main$ git pull
Already up to date.
james@Flint2/main$ git stash pop
No stash entries found.
ok so for that error during update, I need to git reset --hard?
./scripts/feeds update -a && ./scripts/feeds install -a
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git' ...
Updating 2516d2b..99a4a0f
error: Your local changes to the following files would be overwritten by merge:
net/dnsproxy/Makefile
Please commit your changes or stash them before you merge.
Aborting
james@Flint2/main$ git stash
No local changes to save
james@Flint2/main$ git pull
Already up to date.
james@Flint2/main$ git stash pop
No stash entries found.
Use git status to see what git sees as changed if there are changes outside git then you should add those changes to git first by adding the file/directory in the git tree first.
Usually git tracks everything inside the main git directory tree
Yeah that was not formulated very well, I meant git has to know the changes and it tracks only changes in the git tree, if you have changes outside the git tree you have to add/move it inside the git tree
~/code/lede/24.10/feeds/packages$ git status
On branch openwrt-24.10
Your branch is up to date with 'origin/openwrt-24.10'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: net/curl/Makefile
Like Borromini says you need to change working dir to that feed's root dir feeds/packages
Feed has its own git repo, which is separate of the main OpenWrt git.