Jump to content

Git: Difference between revisions

131 bytes added ,  14 February 2020
Line 45: Line 45:
# Push
# Push
git push --set-upstream origin my_feature
git push --set-upstream origin my_feature
# Checkout a branch
git checkout my_branch
# Checkout a single file from another branch
git checkout my_branch -- other_file.txt
</syntaxhighlight>
</syntaxhighlight>