J'écris des scripts pour mon flux de travail Git.Git: réinitialiser l'autre branche au courant sans passer à la caisse
Je dois réinitialiser une autre branche (existante) à la branche actuelle, sans passer à la caisse.
Avant:
CurrentBranch: commit A
OtherBranch: commit B
Après:
CurrentBranch: commit A
OtherBranch: commit A
équivalent de
$ git checkout otherbranch
$ git reset --soft currentbranch
$ git checkout currentbranch
(Remarque --soft: Je ne veux pas affecter l'arbre de travail.)
Est-ce possible?
Est-ce que quelqu'un sait si cela est possible dans Egit? – zedoo