Skip to content
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

level 28 cannot pass #339

Open
biaoqianwo opened this issue Aug 22, 2023 · 2 comments
Open

level 28 cannot pass #339

biaoqianwo opened this issue Aug 22, 2023 · 2 comments

Comments

@biaoqianwo
Copy link

biaoqianwo commented Aug 22, 2023

➜ 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/

  • [new branch] main -> origin/main

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.

image
@biaoqianwo
Copy link
Author

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 .

@Stowaway4331
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants