- Want to add more change in the commit that is not the last commit of any branch. Use git rebase -i
- Want to move whole different branch to base on another branch.
A---B---C topic
to
/
D---E---F---G masterA'--B'--C' topic
git checkout <branch-to-move>
/
D---E---F---G master
git rebase <base-branch> - Want to move part of different branch to base on another branch.
o---o---o---o---o master
to
\
o---o---o---o---o next
\
o---o---o topico---o---o---o---o master
git rebase --onto <new-base-branch> <old-base-branch> <move-branch>
| \
| o'--o'--o' topic
\
o---o---o---o---o next
Thursday, February 24, 2011
[Git] Rebase
So far I have used git rebase for 3 scenarios.
Subscribe to:
Post Comments (Atom)
Collectd PostgreSQL Plugin
I couldn't find this link when searching with google https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresq...
-
sudo su postgres supply your Mac password modify /Library/PostgreSQL/9.x/data/pg_hba.conf from local all all md5 to local all all ...
-
Put your cursor on the text box of the post/comment you want to indent Go to the menubar at the top of the screen Edit > Emoji & ...
-
I ran to this error the other day when I tried to export a dump file from a slave Postgres database. cpg_dump: Dumping the contents of ta...
No comments:
Post a Comment