Tôi đã chạy git init
và đã phạm sai lầm khi chọn chi nhánh đầu tiên. Bây giờ tôi muốn chạy lại nó để thay đổi các thiết lập, nhưng nó không bao giờ hỏi lại câu hỏi đầu tiên.Làm cách nào tôi có thể khôi phục nếu tôi mắc lỗi trong luồng git?
Which branch should be used for bringing forth production releases?
- develop
Branch name for production releases: [] develop
Which branch should be used for integration of the "next release"?
Branch name for "next release" development: [develop] ^C
Lymnaea:boxes (develop) $ git flow init
Which branch should be used for integration of the "next release"?
Branch name for "next release" development: [develop]
Production and integration branches should differ.
Làm cách nào tôi có thể hoàn tác init đầu tiên để tôi có thể đặt chi nhánh thành thạo?
Bạn cũng có thể chỉnh sửa tệp '.git/config' bên trong repo, nơi bạn sẽ là những định nghĩa trong phần' [gitflow "prefix"] '. –