Keeping Your Local Copy Up to Date
If you've already cloned the repository, you don't need to download it again every time there's an update.
Update to the Latest master
- First, open a terminal and navigate to the project folder:
cd C:\Users\username\Downloads\iss14
- Fetch the latest changes from GitHub:
git fetch origin
- Switch to the master branch (if you aren't already on it):
git switch master
- Then update your local copy:
git pull
This will download and merge the latest changes from the master branch.
If You Downloaded the Repository a Week Ago
Simply run:
cd iss14
git switch master
git pull
Your local copy will be updated to the newest version without needing to clone the repository again.
Downloading a Specific Release Branch
Returning to the Latest master
At any time, you can switch back to the latest development version:
git switch master
git pull
Helpful Commands
- Show your current branch:
git branch
- Show all local and remote branches:
git branch -a
- Show only remote branches:
git branch -r
- Fetch information about new branches and updates without changing your files:
git fetch --all
- See the commit history:
git log --all --oneline --graph --decorate