Nicola Cantalupo <nicolacanta...@gmail.com> writes: > Good evening, > I am a beginner. > I have a repository on > GitHub https://github.com/mygithubusername/victor-hugo which I set to > private. > I think it's a fork (Correct me if I'm wrong) because I generated it from > here > https://app.netlify.com/start/deploy?repository=https://github.com/netlify/victor-hugo > Wanting to work locally on my computer, I have installed git and I am > currently using Git Bash on Windows. > > These are the commands I gave: > > git config --global user.name "Dippy Dawg" > git config --global user.email > "12345678+mygithubusern...@users.noreply.github.com" > git clone https://github.com/mygithubusername/victor-hugo > cd victor-hugo > cd site > git submodule add https://github.com/uicardiodev/hugo-sodium-theme > themes/sodium > > Let's admit that I made unspecified changes to various files and folders, > how do I update these changes also* on my repository on GitHub? > * Provided that the changes are also updated on the local repository, > because I'm not sure.
Since pushing changes to the upstream (GitHub) repo is one of the most common operations you perform in git you'll find it in any tutorial worth its salt. There are numerous tutorials, I think the git documentation on GitHub is rather good (though sometimes not 100% clear on separating git-the-tool from GitHub-the-service). https://guides.github.com/introduction/git-handbook/ /M -- Magnus Therning OpenPGP: 0x927912051716CE39 email: mag...@therning.org twitter: magthe http://magnus.therning.org/ It is better to keep your mouth shut and appear stupid than to open it and remove all doubt. — Mark Twain -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/874ksh36nb.fsf%40therning.org.
signature.asc
Description: PGP signature