-
Notifications
You must be signed in to change notification settings - Fork 124
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
Add option to update head #37
base: master
Are you sure you want to change the base?
Conversation
Add option to update head Signed-off-by: Bensuperpc <[email protected]>
👍 |
1 similar comment
👍 |
@wei can you review this PR ? |
Sorry, I'm not too familiar with |
You are currently using the https://github.com/wei/git-sync/blob/b525009/git-sync.sh#L41
So, it looks like you shouldn't actually be using it, and that the current use forces a new branch called "HEAD" at the destination, which is undesirable. This PR make that construction optional. Please merge it. |
Of course, I made these comments without testing the update first... And, if course, I'm mistaken. 😳 The use of But the real issue is that This, as a fix, does away with the need for any extra variables or if-logic. Simply add the I have a tested, working version with this simple change (rivy/gha.git-sync@5eacd8a; see master...rivy:gha.git-sync:master). |
Add option to update head
Signed-off-by: Bensuperpc [email protected]