use Git-lfs(Large File Storage) to push large files

step just simple: sudo apt-get install git-lfs Setup Git lfs for your user account git lfs install If you have already tried to commit large files and got the error then you must first undo the commit, use git reset — soft HEAD~1 otherwise ignore this step. Select the file types that you want Git-lfs to manage using the command git lfs track “*.csv” , this creates a .gitattributes file....

September 5, 2024 · Frederick

Useful Git Commands

git commands init checkout [branch name] : Switch to a branch - : Switch to the branch last checked out -- [file-name.txt] : Discard changes to a file -- . : Discards changes in the working directory for all files and restores them to the state of the last commit. -b [branch name] : Create a new branch and switch to it -b [branch name] origin/[branch name] : Clone a remote branch and switch to it config credential....

June 12, 2023 · Frederick