So, i decided to try git as my first vcs. There's actually no serious need(i'm a single developer of the project), just for self-education. I can't find out, how do you properly keep remote up-to-date. Do I really need to rm each file I delete at he local, to delete it from remote? Can it just look which files are missing at local repo and delete those from the 开发者_Go百科remote?
I don't think to understand your question, but I really suggest you to read Understanding Git Conceptually
It clarify you how the whole "cloud" works.
Git as a first VCS may be a little complicated since it is a Distributed VCS.
To get more familiar with VCS, you could try Subversion for example : there is no local repo, so the commit operations are easier to understand.
On git, to get remote repository synchronized with your local repository, you have to call the "git push" command. Every change commited in your local repository (file modified, renamed, deleted) will be reported on the remote repository.
To learn git concept, you should start with some tutorials.
Git's great for single developers, too!
From your app's dir (where is your git repo)
git add .
git commit -m "some release info"
git push origin master
So, you need to make a commit (i.e. a check-point of your code) in order to sync.
Note: Actually, have you initialized your git repo at all?
精彩评论