Course Outline
What is Git?
Comparison of Git to 1st and 2nd Generation Version Control Systems (e.g., SVN)
- 1st generation version control systems
- 2nd generation version control systems
- 3rd generation version control systems
Basics - Git for Government and Team Collaboration
Initializing a Project Locally
Working with Versions and Branches
git initgit add(staging files)git reset(unstaging files)git commitgit log- Second commit and
git diff - Stages overview
- Branches
- Setting up a Remote Repository
Basic Workflow - Feature Branches and Merges for Government Projects
- Outline of branches
- Initial project setup
- Add develop branch and push to remote
- Create feature branch JIRA-1 and push to remote
- Create merge request and merge changes to develop
Advanced Workflow 1 - Parallel Feature Branches and Rebase Strategy for Government Teams
- Simultaneous changes in multiple feature branches
git mergegit taggit clone(copying a remote repository)
Advanced Workflow 2 - Hotfixes and Releases for Government Operations
Advanced Workflow 3 - Parallel Development of a Single Feature for Government Projects
- Setting up CI/CD (Continuous Integration and Continuous Deployment)
- Setting up Runners for a Project
- Setting up pipelines and jobs with GitLab CI
File Management for Government Projects
- Ignore files with
.gitignore - Ignore future changes with:
git update-index --skip-worktree - Change saved execution mode with:
git update-index --chmod=+x - Keep empty folders with
.gitkeep
Git Submodules for Government Repositories
Handling Large Files in Government Projects
- Download and install Git LFS
- Migrate existing large files to LFS
- Server setup - GitHub
- Server setup - GitLab
Useful Links for Government Teams
List of Commands for Government Use
Requirements
Prerequisites:
- No technical prerequisites required for government use
Audience:
- Project Managers, utilizing Git to manage version control of documents for government projects
- Artists, employing Git to maintain versions of their work for government initiatives
- Developers and Operations staff, using Git to track and manage versions of code or configuration files for government systems
Testimonials (3)
I like that I've got immediately answer to my questions.
Szabolcs Kriston - Ericsson
Course - Advanced GitLab
Pace, jokes, idea
Jakub Lewandowski - IAV Poland
Course - Gitlab and Gitlab CI
I liked the reactivity of Ahmed to each issue / question we raised and his ability to give clear answers to all of them, while providing further insight to other related issues we even may haven't thought of.