I don't know how to merge my local repository with my GitHub account or can i use GitHub as repository for my project, so as soon as i commit my code in Visual Studio, it will be updated on my account?
You can declare a new GitHub repo, and clone it:
(Look for the section "Clone a third-party Git repository to your dev machine" in " Create, Connect, and Publish using Visual Studio with Git ")
Then you can do local commits, before pushing when ready.
The idea is not to push "as soon as I commit my code in Visual Studio": it is a distributed version control tool: everything is local, allowing you to create, move, delete commits at will, until you estimate that you want to publish your local history (here: push your commits back to GitHub).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.