Skip to content

1337Xcode/save-the-planet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Save The Planet

Game about saving the planet

Clone the repo

To clone the repository, use the following command:

git clone https://gitlab.eeecs.qub.ac.uk/40466135/save-the-planet.git
cd save-the-planet

Select your branch

As a developer, you should work on your own branch. Use your QUB student number as the branch name. To check out your branch, use:

git checkout your-student-number

You can list all branches with:

git branch -l

Add your files

cd existing_repo
git remote add origin https://gitlab.eeecs.qub.ac.uk/40466135/save-the-planet.git
git branch -M main
git push -uf origin main

Push your changes to your specific branch

Always check you are not on someone else's branch by using:

git branch -l

To push your changes to your branch, use the following commands:

git add .
git commit -m "Your commit message"
git push origin your-student-number

Make a merge request

When you're ready to merge your changes, follow these steps:

  1. Make sure you're not pushing directly to the main branch.
  2. Create a merge request with a clear and descriptive message.
  3. Mention any related issues or tasks in the merge request description.
  4. Request a review from a team member to ensure everything is good to go.

To create a merge request from the command line:

git checkout main
git pull origin main
git checkout your-student-number
git merge main
git push origin your-student-number

Then go to GitLab and create a merge request from your branch to main.

Import and clone changes from other team members

To import and clone changes made by other team members, use their student number as the branch name:

git fetch origin their-student-number

Integrate with your tools

Collaborate with your team

Test and Deploy

Use the built-in continuous integration in GitLab.


About

Console based game in Java.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages