π 2024-04-04 β Session: Resolved GitHub file size and push issues
π 22:30β23:20
π·οΈ Labels: Git, Github, File Management, Version Control
π Project: Dev
β Priority: MEDIUM
Session Goal
The session was focused on addressing and resolving issues related to GitHubβs file size limitations and push errors, particularly involving large files in Git repositories.
Key Activities
- Explored comprehensive guides for resolving GitHub errors related to file size limits, including removing large files and using Git Large File Storage (LFS).
- Identified and resolved large file issues in Git commits, especially during rebase processes, ensuring commit history integrity.
- Followed step-by-step instructions to amend commits to address large files, using rebase and amend workflows.
- Successfully removed large files from a Git repository and completed a rebase process, using
--force-with-leaseto safely push changes to GitHub. - Committed edited notebooks to a Git repository, ensuring deleted data files were not included.
- Resolved Git push errors due to remote changes by choosing between merging and rebasing, with conflict resolution.
- Managed unstaged changes before rebase, including staging deletions and new files.
- Utilized .gitignore to exclude local files from Git tracking.
Achievements
- Successfully resolved GitHub file size limit errors and push issues.
- Completed rebase processes and safely pushed changes to GitHub.
- Ensured proper management of large files and commit history.
Pending Tasks
- Monitor future Git operations for similar issues and ensure compliance with GitHubβs file size limitations.