You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
Exercise A - Creating a feature branch for my_pipeline
Using your my_pipeline repository, you'll create a new branch called complex-steps, do some work on it, and then merge it back into your main branch
On your terminal, within your my_pipeline repository create and switch to a new branch called complex-steps
Modify readme.md with some more workflow steps
Check the status, then add and commit as usual
Push your branch to your remote on Github (e.g. git push -u origin complex-steps)
Switch back to your main branch - look at the contents of readme.md
Still on your main branch - modify the steps in readme.md, add and commit.
Run git log --all --decorate --oneline --graph and have a look at the output
Merge your complex-steps branch into your main branch
Fix any conflicts, add, and commit
Run git log --all --decorate --oneline --graph again and observe what the output is.
Exercise B - A Complex Branch Structure
In small groups or individually, using Github's visualisation tool as shown in class, do the steps needed to replicate the repository structure shown below.
❗ hash numbers for the commit are going to be different and the final shape of the graph may look slightly different.
The text was updated successfully, but these errors were encountered:
Exercise A - Creating a feature branch for
my_pipeline
Using your
my_pipeline
repository, you'll create a new branch calledcomplex-steps
, do some work on it, and then merge it back into yourmain
branchmy_pipeline
repository create and switch to a new branch calledcomplex-steps
readme.md
with some more workflow stepsgit push -u origin complex-steps
)main
branch - look at the contents ofreadme.md
main
branch - modify the steps inreadme.md
, add and commit.git log --all --decorate --oneline --graph
and have a look at the outputcomplex-steps
branch into yourmain
branchgit log --all --decorate --oneline --graph
again and observe what the output is.Exercise B - A Complex Branch Structure
In small groups or individually, using Github's visualisation tool as shown in class, do the steps needed to replicate the repository structure shown below.
❗ hash numbers for the commit are going to be different and the final shape of the graph may look slightly different.
The text was updated successfully, but these errors were encountered: