Git Assesment Help

So, I’ve turned in the git assessment and got it kicked back to me, giving me these errors. I cant seem to understand what I did wrong so I thought maybe y’all could help me out :smiley:

’drawings’ branch

fatal: ambiguous argument 'student/drawings': unknown revision or path not in the working tree.Use '--' to 
separate paths from revisions, like this:'git <command> [<revision>...] -- [<file>...]'

’master’ branch

fatal: ambiguous argument 'student/master': unknown revision or path not in the working tree.Use '--' to 
separate paths from revisions, like this:'git <command> [<revision>...] -- [<file>...]'
```</strong>

Can you paste the command and context you used for this? The error comes from git not knowing the path you’re using.

How would i do that with it being Ubuntu? I turned in the material already so I just have to start over correct?

Unfortunately you did not receive a passing score on your latest module, Git Assessment. Your score was 2 / 4.

Remember, you’re allowed three re-take attempts between all modules. You have currently used 1 out of 4 attempts. To continue, please retake the module, Git Assessment, in the prepwork.

As a reminder, you’ve completed 0 out of 3 total modules. Once all three modules are complete, you’ll be able to join an upcoming cohort.

The questions you missed were:

’drawings’ branch

fatal: ambiguous argument 'student/drawings': unknown revision or path not in the working tree.Use '--' to separate paths from revisions, like this:'git <command> [<revision>...] -- [<file>...]'

’master’ branch

fatal: ambiguous argument 'student/master': unknown revision or path not in the working tree.Use '--' to separate paths from revisions, like this:'git <command> [<revision>...] -- [<file>...]'

’Drawings’ branch

Additional branch provided

’Master’ branch

Additional branch provided
```</strong>

 

If you have any questions, please don't hesitate to contact your Admissions Specialist directly.

 

Sincerely,

 

App Academy Admissions

this is all I have for context really, so does that mean they never merged in the end?

Unfortunately you’re going to have to resubmit it. It’s hard to say what happened with just the error message and no way to look at what you wrote. I know this may sound underwhelming for an answer, but if you do run into this again, document with screenshots. Looks like you also provided an additional branch that wasn’t supposed to be there.

You can find more information on this error here. Hope this sheds more light on your issue.

I appreciate the help but I’m still confused, how can I be missing pathways in the same paths that I gave extra’s of? Is it that I possibly did to many commits?

Based on what you provided, it looks like your path might be a little wonky. What is ‘student’ and where did it come from? If you’re working in your branches, that shouldn’t be in the file path.
…/downloads/git-repo-management/images/drawings or pictures

Also, I saw that you stated you couldn’t paste your text because it was in Ubuntu; you should be working in the terminal in VScode. Once you add the .gitignore file and have it saved, you don’t need to use Ubuntu further. Basically, you should be initializing your repository in VScode and working from there.

1 Like

Hi, @Corbinha! I’m fairly certain this is simply a matter of casing … here is a screenshot of the branches in your submission …

You should be just fine if you make sure all your branches are lower-case!

Hope that helps!

1 Like