Sourcecode: Advanced / professional YWM-Gitflow to develop new features or fix bugs

Đăng 29/03/2022 1 phút đọc Source Control - GIT

Step 1. (prepare branch) : check out from develop branch

$git checkout develop

$git checkout –b fix_issue_a


Step 2. (develop the feature, fix the issue)
$ git add

$ git commit …

$ git push …

Step 3. rebase, squash merge to develop

$ git checkout develop

$ git pull origin develop
$ git checkout fix_issue_a
$ git rebase develop
$ git checkout develop

$ git merge –squash fix_issue_a
$ git commit –m ‘fix issue A’

$ git push develop

What’s your Reaction?
+1
0
+1
0
+1
0
IVAN NGUYEN
Viết về phần mềm nghiên cứu, phân tích dữ liệu và làm việc trên Mac. Về tôi →

Để lại bình luận

Email của bạn không được công khai.