Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sử dụng git cherry-pick #20

Open
lmquang opened this issue Mar 1, 2018 · 0 comments
Open

Sử dụng git cherry-pick #20

lmquang opened this issue Mar 1, 2018 · 0 comments

Comments

@lmquang
Copy link
Owner

lmquang commented Mar 1, 2018

apply cùng một thay đổi cho cả 2 branches khác nhau

// Đang ở branch A, commit những thay đổi đó
git add -A
git commit -m "Awesome Bug Fixed :("

// Chuyển qua branch B và thực hiện lệnh cherry-pick
git checkout B
git cherry-pick A

https://kipalog.com/posts/Su-dung-git-cherry-pick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant