create-expo-stack icon indicating copy to clipboard operation
create-expo-stack copied to clipboard

Can't Commit Changes Through GitHub Desktop

Open seenamakari opened this issue 10 months ago • 2 comments

Expected Behavior

I should be able to make commits in the GitHub Desktop window, but I'm not able to. Rather, I have to run git commands in the terminal to commit, and then push to the repo through GH Desktop.

Current Behavior

If you try to commit on GH Desktop before running a git command in the terminal, you are met with the following error message:

"On branch main Your branch is up to date with 'origin/main'. Untracked files: (use "git add ..." to include in what will be committed) nothing added to commit but untracked files present (use "git add" to track)"

Steps to Reproduce

  1. Create an expo stack app
  2. Make a simple change
  3. Try to commit it through GitHub Desktop (by clicking the blue button in the bottom-left corner).

Context (Environment)

I was just trying to commit through GitHub Desktop. Not being able to isn't a big deal, but it left me confused for a day. I figure future users might potentially run into the same issue.

seenamakari avatar Apr 02 '24 08:04 seenamakari

@seenamakari do you not have to add files prior to committing them in Github Desktop? This doesn't seem like an error to me?

danstepanov avatar Apr 04 '24 23:04 danstepanov

@seenamakari do you not have to add files prior to committing them in Github Desktop? This doesn't seem like an error to me?

Hi Dan,

No, usually you can just commit immediately through GH Desktop with other stacks. It's not a huge deal really - just something new I had to add on. It likely isn't your biggest priority tbh

seenamakari avatar Apr 09 '24 01:04 seenamakari

@seenamakari is this still an issue for you?

danstepanov avatar Jun 11 '24 18:06 danstepanov

@danstepanov No it's okay

seenamakari avatar Jun 11 '24 19:06 seenamakari