How to setup my first git repository and mantain it? -


i using git repository first time. following things did

  1. i created folder in home directory in ubuntu 12.04 lts keep project files , folders
  2. i created account in github id , password
  3. i created new repository in github.
  4. then used "git push " sync folder git account. asked username , password. provided that. shows me upto date.

the problem that, cant see folder , files in github repository

can please?

you can see similar example @ "git push says date when not":

don't forget git add , git commit before first git push.

for first git push, recommend a:

git push -u origin master 

that supposes have set remote named 'origin' referring github repo:

git remote add origin https://username@github.com/username/reponame 

Comments