roninoss / create-expo-stack

CLI tool to initialize a React Native application with Expo. Provides options to include Typescript, file-based routing via Expo Router, configuration based routing via pure React Navigation, styling via Nativewind, Restyle, Unistyles, StyleSheets, or Tamagui, and/or backend as a service such as Firebase and Supabase.

Home Page:https://rn.new

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't Commit Changes Through GitHub Desktop

seenamakari opened this issue · 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.

commented

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

@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

commented

@seenamakari is this still an issue for you?

@danstepanov No it's okay