Git basics – the only introduction you’ll ever need

Git basics – the only introduction you’ll ever need

Here’s how you can do this:

With above command we add all our files (you can specify them with whole directories or file by file) to somewhat container, i.e. we stage our changes, to make Git notice that they’ve been changed – created, updated or removed. Turns out it is such common thing to do, that Git provides a shortcut for that, in the form of command, which automatically fetches and merges your current branch with the main remote one. To push your changes from the current branch to remote one, you can use command.

Source: areknawo.com