Search code examples
gitgithubvapor

How do I commit a Vapor project to GitHub?


I'm getting started with Vapor and created a new hello-world Vapor project. However if I want to commit this project to my GitHub repo using GitHub Desktop, I don't really see any files to commit even though the project contains a fair few. enter image description here

enter image description here

Is this expected? Making a simple change in the routes.swift file shows an untracked change in Xcode but Github desktop doesn't show the changed file. What am I missing?


Solution

  • Looking at your screenshot, it's because you've got a git repo in a git repo. If you'd open the hello-world folder in Github Desktop, you'll see the changes in your repo.