[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jakartaee-tck-dev] schedule for rename of Platform TCK `tckrefactor` branch to `main`
|
As per the EE 11 Platform TCK project [1], we will rename the
`tckrefactor` branch to `main` .
I will plan to rename the Platform TCK `tckrefactor` branch to
`main` some time this coming weekend and will send email after.
As per [2], update your local clone of the Platform to use the
`main` branch name instead of `tckrefactor`:
After you rename a branch in a repository on GitHub, any
collaborator with a local clone of the repository will need to
update the clone.
From the local clone of the repository on a computer, run the
following commands to update the name of the default branch.
git branch -m OLD-BRANCH-NAME NEW-BRANCH-NAME
git fetch origin
git branch -u origin/NEW-BRANCH-NAME NEW-BRANCH-NAME
git remote set-head origin -a
Optionally, run the following command to remove tracking
references to the old branch name.
git remote prune origin
"
So, locally, I will do the following in my local Platform TCK clone:
"
git branch -m tckrefactor main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
"
Scott
[1] https://github.com/orgs/jakartaee/projects/12/views/1
[2]
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch