Sounds like you're trying to add the file from the web interface. Usually you add the files via the filesystem you've cloned the repo to. Ex:
git clone https://git.com/username/my-repo cd my-repo [edit/add files] git status # to preview your chnages git commit -m"Adding new and changed files to my repo" git push
Then go to https://git.com/username/my-repo
and you should see the changes. I'm assuming you're putting all your changes in your master branch.
I guess you can files via the web interface, but I've never done that.
...adam
____________________________________________ Adam Wead Systems and Digital Collections Librarian Rock and Roll Hall of Fame and Museum 216.515.1960 (t) 215.515.1964 (f)
On Mon, Apr 15, 2013 at 11:12 AM, ken gebser@mousecar.com wrote:
Though I've used version control systems before and even set up a couple over the years, and though it was simple to setup a github repository (which I did just a couple minutes ago), I can't figure out how to upload the first file to it. I'm logged in, on the repository's home page, but can't see an option for that. I also read instructions for set up on the web and the git manpage, but no help there. Anybody here know to put a code file into the repository?
Thanks. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos