Created: 2025-06-30 04:53:08
For more information about the SnowShoeTours application, please consult the wiki.
More details on Iteration 2 Instruction
Name | GitHub username |
---|---|
Angela Zhu | angelaxzhu |
Antoine Phan | notkaramel |
Bilar Mokhtari | bmokhtari |
Emma Friesen | emma-friesen |
Jennifer Tram Su | jennifertramsu |
Sameer Riaz | SRIAZ77 |
PuTTY
:\)gnome-terminal
, alacritty
, kitty
). Any shells (bash
, zsh
, fish
would work).pwd
ls
. Other flags might apply such as:ls # to list all files & folders
ls -a # to list all files & folders (includes hidden ones)
ls -l # to list files and folders with their permission on your machine.
cd
. Examples:cd Desktop/ecse223-project # To access ecse223-project that you put on the Desktop
cd .. # To go to the parent folder of your current location
cd # To go to your home folder (Linux & MacOS tested, not sure how Windows would work)
git -v # to check if git is installed
java -version # to check java version (we just JDK 17 or 19)
# Create a new branch
git checkout -b branch-name # replace branch-name with your own branch name
# For example:
git checkout -b emma
git checkout <branch name> # or, on some machines
git switch <branch name>
# For example
git checkout main # switch to main branch
git checckout emma # switch to branch named "Emma"
Vim
editor)common-base
branch to the main
branch.main
branch to your own working branch.emma
to the development
branch.common-base
branch# Switch to your target branch
git checkout <your-target-branch>
# Merge to your target branch from your reference branch
git merge <your-reference-branch>
:wq
Merge conflicts may occurs. In this case, it's recommended that you resolves conflicts on editor such as VSCode, by either choosing to keep the current changes or apply the incoming changes to your branch.
Further instruction on this will be updated for ECSE 321 I guess :))
Make sure that you work on your branch and not on the
main
branch.
# Check the status of the repository.
# Attention to your current branch and files you modified/added.
# Attention to whether your branch(es) is behind/ahead of the GitHub repo.
git status
# Update the repository from remote repository
git pull
# Add all changes to the staging area
git add . # or
git add -A
# Add a specific file to the staging area
git add <file>
# Commit the changes in the staging area
git commit -m "Commit message"
# Push the changes to the remote repository
git push