Git: Difference between revisions

218 bytes added ,  10 November 2019
Line 24: Line 24:


===Branches===
===Branches===
<syntaxhighlight lang="bash">
# Make a branch
git checkout -b my_feature


# Add and commit to this branch
git add .
git commit -m "My commit message"
# Push
git push --set-upstream origin my_feature
</syntaxhighlight>


===Pull Requests===
===Pull Requests===