Commit 2dbd0de
committed
✅ Standardize default branch name in test setup
Ensure test repository uses 'main' as default branch name for
consistency across different Git environments.
- Add branch name check and standardization in setup_git_repo()
- Create or update 'main' branch if current branch differs
- Set HEAD to point to 'main' branch and checkout
- Use force checkout to handle any working directory conflicts
- Maintain compatibility with environments using different defaults1 parent 52ef008 commit 2dbd0de
1 file changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
48 | 71 | | |
49 | 72 | | |
50 | 73 | | |
| |||
0 commit comments