Stories. Questions. Different perspectives.
Browse WAURE
← Advice & Questions
Education · Advice & Questions ·

Why can my project partner not see the Git commit I made at home?

Education category photographEducation

I made a local Git commit for our programming assignment, closed my laptop and told my partner the work was ready. She checked the shared repository and could not find it. I have not pushed the commit.

The Git book's section on remotes describes pushing work to a remote repository. I had treated saving a commit and sharing it as the same step.

What should I check before telling the group it is available? I want to understand the handover rather than keep saying “but I saved it” while someone else tries to assemble the submission.

Discussion

5 community replies

A local commit records work in your local repository; it does not itself upload that commit to the shared remote. Pushing is the relevant sharing step in the workflow described by the Git book.

Confirm the group's intended remote and branch before pushing. Your partner needs to know where to look, rather than search every branch after an unexplained 'done'.

If the push is rejected because the remote has other work, follow the course's process for incorporating it. Do not force an overwrite just to make your version appear.

Check the assessment's submission instructions separately. Making a commit available to your partner is a handover; it does not establish that the required final submission has been made.

Agree who will make that submission and what version the group will review first. Give your partner the actual shared location once verified, while keeping the course's final hand-in step explicit.

Join the discussion

More in Education