PCSX2 Documentation/Git Survival Guide: Difference between revisions

No edit summary
Line 29: Line 29:
==Branch or how to separate your work by feature==
==Branch or how to separate your work by feature==
Please note that master is actually the default branch
Please note that master is actually the default branch
* List branches: git branch -v
* List branches: <code>git branch -v</code>
* Switch to another branch: git checkout `<branch>`
* Switch to another branch: <code>git checkout <branch></code>
* Creates: git branch `<branch>`
* Creates: git branch <code><branch></code>
* Delete branches: git branch -d `<branch>`
* Delete branches: git branch -d <code><branch></code>
* Set the base reference of the branch (for rebase): git branch --set-upstream-to=`<remote>` `<branch_name>`
* Set the base reference of the branch (for rebase): git branch --set-upstream-to=<code><remote><branch_name></code>


# Git use case example
# Git use case example
ninja
782

edits