Git: Difference between revisions
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> | ||