[Shell] How to pass the first stage ? quick help appreciated

Checklist:

  1. :white_check_mark: : I’ve uncommented the code.
  2. :white_check_mark: : I’ve saved the changes.
  3. :white_check_mark: :I’ve run the git commands:
git commit -am "[seeking help on forum]"
git push origin master

Here’s a screenshot showing the output from running the Git commands:

just says everything seems the same compared to the master repo. i have been trying this for about half an hour.

Hi @EncHawk from what I can see in your file explorer on the left, you have a nested codecrafters repository inside another. So you are running git commit on the parent folder but the changes were made in the child folder.

Technically this should work(?) But I would advise to just remove these folders (seeing that you are still at the first stage and have not made any significant changes), and start anew :).

1 Like

ah thanks mate, assuming youre not an ai agent. u saved me from giving up everything!

@EncHawk You’re very welcome—glad it helped! :tada: If you run into any other quirks or need more troubleshooting, feel free to ask. Happy computing! :blush:

2 Likes

just a noobie question, the commits i am making. it doesn’t reflect on my github profile, is that bad?
shouldn’t this be going down as commits made by me enhawk on github?

Hi @EncHawk, you’ve been pushing commits to our servers, so they didn’t show up on your GitHub profile.

To have them appear on your GitHub account, you can use our Publish to GitHub feature:

you can config git to push into several repos via git command

git remote add --help
usage: git remote add [<options>] <name> <url>

    -f, --[no-]fetch      fetch the remote branches
    --[no-]tags           import all tags and associated objects when fetching
                          or do not fetch any tag at all (--no-tags)
    -t, --[no-]track <branch>
                          branch(es) to track
    -m, --[no-]master <branch>
                          master branch
    --[no-]mirror[=(push|fetch)]
                          set up remote as a mirror to push to or fetch from

or simply open .git/config in favorite editor and add one more pushurl

pushurl = <your github repo>

under [remote "origin"] section

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.