I have, probably, a stupid question.. I'm gonna use local repository for my project. Will it be possible to export whole repository with all the commit history to the remote one (for example, i'll create it in a half of a year). Will all the commits, for example,appear in the commit history in github or other remote git platform?
Yes, it will push all history of commit to the remote branch.
just add remote branch and push
git remote add origin https://github.com/user/repo.git
And then push via following command
git push <remote_branch> <local_branch>
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.