Push local branch to remote repo

Code snippet on how to push your local branch to your remote repo.

git add .
git commit -m “Your message”
git push origin feature-branch

How to use

You'll use this code snippet a lot to push changes to your remote repository, like GitHub. In the above snippet, replace your message with your commit message. Also, replace feature-branch with the name of the branch your want to push to the remote repo.