Dust_In_The_Wind
Dust_In_The_Wind

Reputation: 3692

Commits pushed to Github through Github Desktop App(Windows) not showing up

I created two repositories through the Github website about a couple of hours ago. Then I went to the Github Desktop App, and made many commits to each of those two repositories. The process I had followed was:

  1. Create repository on Github website
  2. Go to Github Desktop App, and hit "clone" for the selected repository
  3. The repository was cloned to a "Github" folder in "Documents"
  4. Then I copied over my code files to each of the repository folders (through Windows explorer)
  5. In the Github Desktop App, I automatically got the "x uncommited changes" for the number of files I had copied over.
  6. I added a message in the "summary" and "description" section, and clicked on the "Commit" button at the end, and a blue check mark appeared.

However, now that I'm on another (ubuntu) computer and wanted to clone the 2 repositories on this, it appears that none of my commits were ever pushed to Github. The Github website also just shows the 2 repositores I had created at the very beginning, intialized with a readme.md. There's nothing else.

What went wrong?

Upvotes: 9

Views: 26300

Answers (1)

0xdenishdev
0xdenishdev

Reputation: 186

  1. Create repository on Github website
  2. Go to Github Desktop App, and hit "clone" for the selected repository
  3. You should copy all your files to cloned repository.
  4. Click to view all uncommited changes.
  5. You have to write the summary and description and hit the button 'commit to "your branch name"'.
  6. And as a final step, you should push 'Sync button' at the upper right corner.

Upvotes: 12

Related Questions