EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: more git problems
From: Dirk Zimoch <[email protected]>
To: <[email protected]>
Date: Thu, 7 Dec 2017 17:45:26 +0100


On 07.12.2017 17:42, Dirk Zimoch wrote:
I tried to do changes on modules/database

When I wanted to commit, I get the error that I am not on any branch.
Then I did
* git stash
* in the top level: git submodule update --remote
* back in modules/database: git co core/master
* git stash apply
Here I get the errors:
CONFLICT (delete/modify): src/std/dev/devMbbiDirectSoft.c deleted in
Updated upstream and modified in Stashed changes. Version Stashed
changes of src/std/dev/devMbbiDirectSoft.c left in tree.
... [for all my changes]

git status tells me:
# On branch core/master
# Unmerged paths:
#   (use "git reset HEAD <file>..." to unstage)
#   (use "git add/rm <file>..." as appropriate to mark resolution)
#
#       deleted by us:      ../../../src/std/dev/devMbbiDirectSoft.c
#       deleted by us:
../../../src/std/dev/devMbbiDirectSoftCallback.c
#       deleted by us:      ../../../src/std/dev/devMbbiDirectSoftRaw.c
#       deleted by us:      ../../../src/std/dev/devMbboDirectSoft.c
#       deleted by us:
../../../src/std/dev/devMbboDirectSoftCallback.c
#       deleted by us:      ../../../src/std/rec/mbbiDirectRecord.c
#       deleted by us:      ../../../src/std/rec/mbbiDirectRecord.dbd
#       deleted by us:      ../../../src/std/rec/mbboDirectRecord.c
#       deleted by us:      ../../../src/std/rec/mbboDirectRecord.dbd
#       deleted by us:      Makefile

My changes are seemingly gone (?) and the module is distressingly empty.
Wrong branch? Maybe.


---WRONG DIRECTORY
git co database/master
error: Your local changes to the following files would be overwritten by
checkout:
        configure/os/CONFIG_SITE.Common.vxWorksCommon
        configure/os/CONFIG_SITE.linux-x86.Common
        configure/os/CONFIG_SITE.linux-x86_64.Common
Please, commit your changes or stash them before you can switch branches.
Aborting
----

git co database/master
src/std/dev/devMbbiDirectSoft.c: needs merge
src/std/dev/devMbbiDirectSoftCallback.c: needs merge
src/std/dev/devMbbiDirectSoftRaw.c: needs merge
src/std/dev/devMbboDirectSoft.c: needs merge
src/std/dev/devMbboDirectSoftCallback.c: needs merge
src/std/rec/mbbiDirectRecord.c: needs merge
src/std/rec/mbbiDirectRecord.dbd: needs merge
src/std/rec/mbboDirectRecord.c: needs merge
src/std/rec/mbboDirectRecord.dbd: needs merge
test/std/rec/Makefile: needs merge
error: you need to resolve your current index first

Still: HELP!


HELP!



References:
more git problems Dirk Zimoch

Navigate by Date:
Prev: more git problems Dirk Zimoch
Next: Re: more git problems Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: more git problems Dirk Zimoch
Next: Re: more git problems Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·