Originally run 6pm 27th March 2024.
This is the repository for the Beginners’ Git workshop.
If your coming from the Live Page, see the guide.md
page; and the source code https://github.com/ProgSoc/Git2024
By the end of the Workshop, you’ll know about how to manage your files without awkward Assignment-Draft
, Assignment-Final
or Assignment-Final1
names, and be able to contribute to open source software projects by opening issues, making and testing changes locally, and submitting Pull Requests to give back to the original project.
oli/event-idea
:
guide.md
, with your idea for a event ProgSoc could host,main
branch.oli/fix-dates
:
27/4/2024
, another spells out the month fully 27 March 2024
, another internationally 2024-03-27
, etc)main
branch.live
branch.It includes the main
branch as a finished state example of the files at the end of the group session.
It also includes the changes submitted during the live website collaboration session, available in the live
branch.
If you want to jump in at a specific step of the workshop, there are available branches representing the repository state at that point:
local/step-0
: Empty repository, after git init
local/step-1
: Imported files from upstream
ProgSoc/Git2024
repositorygit add README.md guide.md
git commit -m "feat: import contents from upstream"
local/step-2
: Changes made in new branch
git switch -c event-idea
orgit switch -c project-idea
guide.md
and add your event or project ideagit add guide.md
git commit -m "feat(guide): event idea"
local/step-3
: Merged changes into main
git switch main
git merge event-idea
group/step-0
: Forked/cloned repository
group/step-1a
: Change to full dates
git switch -c your-name/full-dates
git add guide.md
git commit -m "fix(guide): full month names"
group/step-1b
: Change to international dates
git switch -c your-name/iso-dates
git add guide.md
git commit -m "fix(guide): iso dates"
group/step-2
: State after merge conflict
git switch main
git merge your-name/full-dates
git merge your-name/iso-dates
group/step-3
: State after resolving, and running git commit
<<<<<<<
, =======
, >>>>>>>
delimeters.git commit