Toggle navigation
Email or Username
Password
Remember
Login
Register
|
I forgot my password
Questions
Unanswered
Tags
Users
Ask a Question
Git rebase private branches in the distant past?
0
like
0
dislike
26
views
I guess I did not read the manual and the guides, and probably just don't want to experiment with an unknown outcome.
The more that problems came after not before the end of a successful rebase and want to fix them.
What parameters do you need to call git rebase that would rewrite:
1)
D---E---F---G - master
/ /
-A---B---St.
-A---B---C'--D'---E---F---G - master
2)
C---D---E - master
/
-A---B---P---R---S - otherв
D---E - master
/
-A---B---C'---P---R---S - other
git
asked
Mar 20, 2019
by
Sannis
|
26
views
answer
comment
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
like
0
dislike
in the second case like this:
git branch temp hashOfC
git checkout other
git rebase temp
\r
in the first case, look at interactive rebase: git rebase -i
allows you to make changes in previous commits, objednat them or skip
answered
Mar 22, 2019
by
zimer
ask related question
comment
Please
log in
or
register
to add a comment.
Related questions
0
like
0
dislike
1
answer
Made in git rebase instead of merge?
asked
May 20, 2019
by
Urichalex
git
0
like
0
dislike
2
answers
How to undo a git rebase?
asked
May 20, 2019
by
skynet32rus
git
0
like
0
dislike
1
answer
Why git rebase deletes the files?
asked
Apr 24, 2019
by
cester
git
0
like
0
dislike
3
answers
Update the master branch: git pull VS git pull --rebase?
asked
Apr 1, 2019
by
Masaki42
git
0
like
0
dislike
1
answer
Git how to get all the branches locally?
asked
May 21, 2019
by
dmitrydanyliuk
git
Most popular tags
javascript
php
css
html
jquery
wordpress
python
linux
web-development
mysql
android
windows
java
layout
c#
computer-networks
node.js
cpp
iron
yii
vue.js
1C-Bitrix
react
laravel
django
nginx
system-administration
search-engine-optimization
api
ubuntu
the-it-education.
ajax
sql
programming
hosting
cms
design
apache
google-chrome
bootstrap
Vkontakte
macos
google
network-administration
git
laptops
algorithms
regular-expressions
unity-game-engine
email
angular
database
network-equipment
software
wooсommerce
debian
.net
ios
information-security
video
law-in-it
browsers
books
parsing
wi-fi
game-development
career
htaccess
postgresql
telegram
mikrotik
mobile-development
ruby-on-rails
the-domain-name-system
modx
Yandex
c
json
opencart
Habr
freelance
vpn
asp.net
windows-server
symfony
bots
hard-drives
math
qt
DIY
audio
frontend
payment-system
bash
electronics
gulp.js
user-interface
docker
online-shopping
110,608
questions
257,187
answers
0
comments
40,796
users