-
Clone the repo using
git clone https://github.com/ediiotero/2022-03-24-fesd-pacific.git
-
Use
git branch
to see all branches ( if you have already cloned the repo usegit fetch
to get an updated list of branched and trygit branch
again). -
Use
git checkout <branch name>
to get to the branch. (example:git checkout Javascript-week-3
) -
If you are changing branches and want to save your work you need to stage and commit your changes. Use
git add .
to stage all your changes, andgit commit -m "your comment here"
to commit them. -
Use
git pull
to pull the latest changes from the repo.