Assignment # 1 - Repository Collaboration and Preparation Assignment
- clone the repository
git clone https://github.com/ramses2099/SENG8081-24F-Sec1-Case-project
- check the list of branch
git branch -r
- use the branch development
git checkout development
- make some changes or add one file e.g.
test_name_student_number.txt
- push the file to the remote branch.
git status
git add .
git commit -m "add new file test_name_student_number.txt the branch development"
git push -u origin development
git checkout -b
git push -u origin
git branch -d
- git branch
- git branch -r. Lists all the remote branches.
- git branch -r -v. Lists all the remote branches with the latest commit hash and commit message.
- git ls-remote. Lists all the references in the remote repository, including the branches.
- git remote show [remote_name]. Shows information about the specified remote, including the remote branches.
- git branch -a. Shows all the local and remote branches.