Skip to content

IbrahimCPS/student-roster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Student Roster! by [Team]


[some videos link share] : url(https://drive.google.com/drive/folders/12Eaw1kEeuhPtBPldbO8CSlmsVni_NhH_)

Project: Student Roster

Step 1: Create a new repository

  1. Create a new folder: student-roster
  2. Initialize a new Git repository: git init
  3. Create a new file: students.txt

Step 2: Add initial content

  1. Add the following content to students.txt: Username,Fname,Lname,UGNumber

  2. Commit the changes: git add . and git commit -m "Initial commit"

Step 3: Collaborate

  1. Create a new branch for each collaborator: git branch

  2. Switch to the new branch: git checkout

  3. Add your details to students.txt: Username,Fname,Lname,UGNumber ,,,

  4. Commit the changes: git add . and git commit -m "Added details"

  5. Push the branch to the remote repository (if set up)

Step 4: Merge changes

  1. Switch to the main branch: git checkout main
  2. Merge the changes from each collaborator's branch: git merge

Folder structure:

graph TD
A[student-roster/] --> B[students.txt]
Loading

Example students.txt

Username Fname Lname UGNumber
johnDoe John Doe 12345
janeDoe Jane Doe 67890

Git commands to practice:

graph TD
A[git clone] --> B[git branch]
B --> C[git checkout]
C --> D[git add]
D --> E[edit/modification]
E --> F[git commit]
E --> G[git merge]
G --> F
F --> H[git push]
H --> I[git pull]
Loading

Steps for each collaborator:

  1. Clone the repository: git clone
  2. Create a new branch: git branch
  3. Switch to the new branch: git checkout
  4. Add your details to students.txt
  5. Commit the changes: git add . and git commit -m "Added details"
  6. Push the branch to the remote repository: git push origin
  7. Create a pull request to merge your branch with the main branch

This project allows each collaborator to practice Git commands while working on a simple task.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •