Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

What is a branch in GIT and why would one use it?

  • It’s a way of making a version of the code where we can try something out independently and when we are ready we merge that code back into the main branch.

  • We can use to solve all sorts of organizational problems with development, for instance

    • If we trying a risky change and we don’t want to commit to it or interfere with the rest of the team while we do it.

git branch PythonRemove
git checkout PythonRemove

https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging

  • No labels