HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-devel] GIT branch surgery



> git rebase origin V7_7_1-branch
> 
> when I intended this:
> 
> git rebase origin/V7_7_1-branch
> 
> One way or another, I will not be typing that command anymore.
> 
> --Dan
> 
I asked on the git mailing list how one might prevent this from happening
again, and the command

git remote set-head origin -d

was given for deleting the origin/HEAD reference, which, in the case above,
pointed to origin/master.

It seems to work: 'git rev-parse origin' now produces an error message in my
repository.

The fellow also said that "There is no config option to disable it for all
newly cloned repos."

Nathan Panike