git verify-pack -v .git/objects/pack/ * .idx | sort -k3 -n | tail -5 git filter-repo \ --path-glob '*.zip' \ --path-glob '…
Read moreThe error message you're encountering while using Git, specifically "fatal: Unable to create '/var/www/html/lms/.git/index.lock': Permis…
Read moreThe error: "fatal: unable to create thread: Resource temporarily unavailable" strongly suggests you've run out of memory on the server, whic…
Read morechange the user sudo chown -R $USER:$USER /home/$USER/.ssh update the permission sudo chmod 700 /home/$USER/.ssh Reference https://askubuntu.com/qu…
Read more// delete branch locally git branch - d localBranchName // delete branch remotely git push origin -- delete remoteBranchName // refresh branch li…
Read moreIt seems like, you may have removed the .git folder. In that case you can try git rm --cached folderpath/ -f where folderpath is the path from where yo…
Read more# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies **/node_modules /.pnp .pnp.js # testing /coverage # p…
Read moreYou are in a middle of rebasing so either do git rebase --continue or: git rebase --abort https://stackoverflow.com/questions/47777272/git-terminal-show…
Read moregit rm . env --cached git rm . env.local --cached git rm -r --cached node_modules git rm -r --cached my_folder_name Then git add . git commit -m &…
Read moregit config --global --add safe.directory '*'
Read moreThere are scenarios where you might need to checkout or clone from a specific git commit id. For example, you might want to perform a git pull on a specif…
Read moregit config core.fileMode false
Read moreStash your local changes: git stash Update the branch to the latest code git pull origin development Merge your local changes into the latest code: git st…
Read more1. For global configuraion - it will set username and email to globally for all folder
Read more1. Update System sudo apt update sudo apt upgrade 2. Install git on local machine sudo apt install git 3. Check git version git --version 4. Git Configur…
Read more