Change Directory back to your work folder on the Bowen drive (/{letter}/work/{COHORT}/{IDENT}/
)
And then into your recipe folder content/week01/recipe/
IMPORTANT: Switch to your main
or master
branch, if not already on it.
Create a new file named thoughts.txt
, write some random thoughts to it, then add and
commit this new file.
Make a new branch named more-thoughts
and switch to it.
Add some more thoughts to thoughts.txt
, then again add and commit these changes.
Switch back to your main
or master
branch.
git mv
’. Try it out now with:
git mv thoughts.txt musings.txt
git status
git commit -m "renamed thoughts to musings"
git graph
ls
more-thoughts
)
where you had made additions to a file still named “thoughts.txt”.more-thoughts
in to main
/master
?Try it out! :
git merge more-thoughts
What has happened?
« Back | Next » |