Open biaoqianwo opened 1 year ago
my default branch is main ,not master. But the tip cotent is master.
Eventhroght I checkout the branch to master used git branch -m master
. I still cannot pass the level 28 .
my default branch is main ,not master. But the tip cotent is master. Eventhroght I checkout the branch to master used
git branch -m master
. I still cannot pass the level 28 .
Your remote repo is tracking main
. You will need to change the default branch name in order to finish this level. Checkout this thread.
➜ git_hug git:(master) git -v git version 2.39.2 (Apple Git-143)
➜ git_hug git:(master) githug reset /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin22/rbconfig.rb:21: warning: Insecure world writable dir /opt in PATH, mode 040777 resetting level gremote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (3/3), 187 bytes | 187.00 KiB/s, done. From /var/folders/5l/2sm__67s059318qh6j26w1tr0000gn/T/d20230822-39020-o95uag/
Name: push Level: 28 Difficulty: ***
Your local master branch has diverged from the remote origin/master branch. Rebase your commit onto origin/master and push it to remote.
➜ git_hug git:(main) git rebase origin/main Successfully rebased and updated refs/heads/main.
➜ git_hug git:(main) git push origin main Enumerating objects: 7, done. Counting objects: 100% (7/7), done. Delta compression using up to 8 threads Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 582 bytes | 582.00 KiB/s, done. Total 6 (delta 2), reused 0 (delta 0), pack-reused 0 To /var/folders/5l/2sm__67s059318qh6j26w1tr0000gn/T/d20230822-39020-o95uag/.git 6f8b8e0..811f93b main -> main
➜ git_hug git:(main) githug /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin22/rbconfig.rb:21: warning: Insecure world writable dir /opt in PATH, mode 040777 Sorry, this solution is not quite right!
Name: push Level: 28 Difficulty: ***
Your local master branch has diverged from the remote origin/master branch. Rebase your commit onto origin/master and push it to remote.