Software Development
Software Development Life Cycle
The software development life cycle (SDLC) is a process used by software development teams to design, develop, and test high-quality software.
SDLC Phases
- Requirements Analysis
- Design
- Implementation
- Testing
- Deployment
- Maintenance
Version Control with Git
git_commands.txt
# Initialize a new Git repository
git init
# Add files to staging area
git add filename.py
git add .
# Commit changes
git commit -m "Initial commit"
# Create and switch to a new branch
git checkout -b feature-branch
# Switch between branches
git checkout main
# Merge branches
git merge feature-branch
# View commit history
git log
# View status of working directory
git status
# Push changes to remote repository
git push origin main
# Pull changes from remote repository
git pull origin main