Practical Software Engineering : Integration and Version Control with Git (Woolf University X GMC School of Technology)
# π§ Learn Git: Hands-On Git Workflow Practice
---
## π Project Description
This project is a hands-on checkpoint to reinforce your understanding of the basic Git workflow. It includes file creation, repository initialization, staging, committing, viewing logs, deleting files, and modifying global Git configurations. This is an essential exercise for beginners and intermediate developers looking to solidify their Git fundamentals.
> π‘ Bonus: You will also learn how to document your work, take screenshots of Git commands, and push them to your GitHub repository.
---
## π Git Practice Workflow: What You're Aiming For
Now that you've grasped the fundamentals of Git, it's time to reinforce your understanding by walking through the core Git workflow independently.
> πΈ **Note:** As part of this checkpoint, take screenshots for each step listed below and push them to your GitHub repository for documentation and review.
---
## π§ Instructions
Follow the steps below using your terminal or Git Bash on Windows:
1. **Create a new project directory**
```bash
mkdir learn_git
cd learn_git-
Create a new file
touch third.txt
-
Initialize a Git repository
git init
-
Stage the file
git add third.txt
-
Commit the staged file
git commit -m "adding third.txt" -
View the commit log
git log
-
Create another file
touch fourth.txt
-
Stage and commit the new file
git add fourth.txt git commit -m "adding fourth.txt" -
Remove the first file
rm third.txt
-
Stage the deletion and commit
git add . git commit -m "removing third.txt"
-
Review the commit history again
git log
-
Update global Git settings Disable Gitβs default pager to display command output in full:
git config --global core.pager cat
-
List all global Git configurations
git config --global --list
- Screenshots of each command execution.
- All screenshots pushed to the GitHub repository.
-
README.mdupdated (this file) as documentation for your Git learning process.
Engr. Amarachi Crystal Omereife π§ Email: mirrorprojectsltd@gmail.com π GitHub: https://github.com/marameref