# Importing GitHub project does not use latest commit

**URL:** <https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334>\
**Category:** Help\
**Tags:** game\
**Created:** [November 14, 2022, 6:40am UTC](https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334 "2022-11-14T06:40:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [November 14, 2022, 6:40am UTC](https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334/1 "2022-11-14T06:40:50Z")

</div>

Hey, I’ve been working on a game [here](https://github.com/UnsignedArduino/Blocky-Boss-Battle) and when I committed [`0820285`](https://github.com/UnsignedArduino/Blocky-Boss-Battle/commit/0820285601c92ae3706b11ce280dff4ff8020ffb) (“Players can shoot”) it only seemed to import the previous commit [`147ca38`](https://github.com/UnsignedArduino/Blocky-Boss-Battle/commit/147ca3841860280a2c65fdd1dd48aa9e25930fd0). (“Create players and change boos color and bullets”) I tried deleting the project and reimporting it, but it only seems to use changes from the third commit. I’ve tried reverting the previous commit that it was importing, but that didn’t work either.

This also happened to another one of my [projects](https://github.com/UnsignedArduino/Arcade-Roll), and this is really frustrating as I can’t continue working on a project if it doesn’t show my changes in the editor!

Help would be highly appreciated!

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [November 14, 2022, 5:56pm UTC](https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334/2 "2022-11-14T17:56:21Z")

</div>

Did you try to import and then manually pull?

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [November 14, 2022, 8:53pm UTC](https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334/3 "2022-11-14T20:53:50Z")

</div>

Doesn’t work. It just doesn’t see that last commit. 🤔

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [November 14, 2022, 8:54pm UTC](https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334/4 "2022-11-14T20:54:04Z")

</div>

Looking at the list of changed files for the latest commit, it appears only `main.ts` has been updated, not `main.blocks`. I’m guessing the editor imports the `main.blocks` instead and overwrites the TypeScript file. So the real question is why the `main.blocks` isn’t updating anymore.

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [November 14, 2022, 9:08pm UTC](https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334/5 "2022-11-14T21:08:58Z")

</div>

The commit history in MakeCode shows a commit on the 12th of November at 1:05AM. The commit on GItHub also notes that same date & time. Is this correct? Despite this, the changes don’t seem to load in the blocks.

---

<div class="post-metadata">

**Author:** ![isoffline](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isoffline/32/8791_2.png) [@isoffline](https://forum.makecode.com/u/isoffline)\
**Post date:** [November 14, 2022, 9:50pm UTC](https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334/6 "2022-11-14T21:50:13Z")

</div>

Can’t you just ask Richard or any moderators for help?

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [November 14, 2022, 10:10pm UTC](https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334/7 "2022-11-14T22:10:29Z")

</div>

Yea, but it’s 7:05 PM for me. (cause timezones)

I’ve gotten past it anyways by redoing it, but I’ll end up saving a share link before I commit anything…

> [@isoffline](#):
>
> Can’t you just ask Richard or any moderators for help?

Don’t want to bother them _that_ much, they have other things to do!

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [November 15, 2022, 5:45pm UTC](https://forum.makecode.com/t/importing-github-project-does-not-use-latest-commit/16334/8 "2022-11-15T17:45:00Z")

</div>

Just save manually I’ve never had a problem with that
