Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Commit Changes Through GitHub Desktop #230

Open
seenamakari opened this issue Apr 2, 2024 · 2 comments
Open

Can't Commit Changes Through GitHub Desktop #230

seenamakari opened this issue Apr 2, 2024 · 2 comments
Assignees

Comments

@seenamakari
Copy link

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.

@danstepanov
Copy link
Owner

@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 danstepanov self-assigned this Apr 4, 2024
@seenamakari
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants