[git-users] Excluding Makefile from a git repo (also for git reset --hard)

2014-10-20 Thread Kevin Wilson
Hello, git-users, I have clone a kernel git repo of a Linux kernel. The EXTRAVERSION line of the Makefile is empty. I changed the EXTRAVERSION line of the Makefile accoding to my needs (lets say, for example, changed it o EXTRAVERSION = - my_extra_version Now, with this tree, there are times

Re: [git-users] Excluding Makefile from a git repo (also for git reset --hard)

2014-10-20 Thread Gergely Polonkai
I’m not familiar with the kernel sources. If the Makefile is part of the git tree, you can commit your changes and always do a git pull --rebase when you need the new changes. If not (Makefile is generated somehow), then you have to create some automation that changes that line (like a sed script