generated from chingu-voyages/voyage-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Pre‐Voyage Meeting #1 ‐ Introduction to Git (Optional)
Mikey Nichols edited this page Jan 18, 2024
·
4 revisions
10 January 2024 / 2:00 PM GMT -5 (New York)
- What is Git? Why are we using it?
- Ensure that Git in installed locally (
git --version
) - Make sure you are not already in a GitHub Repository on your computer (
git status
) - Clone our team repository to your machine (
git clone https://github.com/chingu-voyages/v47-tier1-team-04.git
) - View status of repository using terminal (
git status
) - Learn what branches are available locally (
git branch
) - How to switch between branches, talk about the HEAD branch and the importance of switching to development branch. (
git checkout
)- Switch to the 22/development/documentation and fetch/pull in the data. (
git checkout 22/development/documentation
)
- Switch to the 22/development/documentation and fetch/pull in the data. (
- View changes made to a branch over time by using the log command (
git log
)- How to navigate, and most importantly leave the viewer!
- How to view past commits
- Create a new branch following the
issue-number/feature-fix-refactor/description/username
(git switch -c 22/refactor/contributors/username
) - Add github username to the
docs/CONTRIBUTORS.md
file. - Push changes made to remote repository (
git push
) - Create a pull request to merge branch into 22/development/documentation branch
- Conclusion
Notes that I took while following along with Colt Steele's Git and GitHub Bootcamp
Everybody that attends should create their first pull request to the repository after following the steps necessary to create a sub-branch of the intended development branch.