Git – Large File Support ( LFS ) – List Files

Background Let us continue to explore Git's support for Large Files ( LFS ). In this post, we will identify the files that are tagged "large files".   Git Git Command git lfs ls-files The command that we will use is "git lfs ls-files". Options Option Usage Depth --deleted Shows the full history of the … Continue reading Git – Large File Support ( LFS ) – List Files

Git – Special Files – .gitattributes

Background Unfortunately ran into an error trying to upload a big file unto Git. Git Git LFS I thought I had that problem behind me. Years prior I had set up Git LFS. By the way,  LFS translates to "Large File Support". StackOverfow Googled for help. Thankfully landed at StackOverfow. The StackOverfow Q/A Post is … Continue reading Git – Special Files – .gitattributes

Git:- Show untracked files

Background Here I am after a good weekend of labor, I will like to make sure that added files are stored away in our source control.   Git Git Status When one issues "git status", it shows untracked files and directories. Git Status -u To show only untracked files, please append the -u option.   … Continue reading Git:- Show untracked files

Git:- git add – not working

Background I have had to rework one of our git repositories. Git Commands   Git Add I issued git add commands a few times, but "No Go". The syntax and sample is shown below. Syntax Sample TroubleShooting Folder Structure Finally, I checked the sub-folder that I was trying to add files from. And, behold there … Continue reading Git:- git add – not working

Git:- “git add .”

Background Quick Reminder on why not to quickly take pointers. Git Sessions Outline Session - 01 git add git add . git commit git reset Session - 02 git add git add <filename> git status git commit git push Session - 01 git add Issued "git add ." git commit Issued git commit. My editor … Continue reading Git:- “git add .”

Git Cli – Error – “ Permission denied (publickey).”

Background I needed to take a quick look at a GitHub repository. I launched a command shell and issued "git clone" against the repository. Git Command Here is the syntax and sample for the git clone command. Git Clone Syntax Text     Error Error Message Unfortunately, we encountered an error. The error is:- Image … Continue reading Git Cli – Error – “ Permission denied (publickey).”

Git:- Git Commit – Comments – Changing Last Commits

Background A couple of days ago, I made a few important code changes and thought it worthy to keep the changes. Review Commit History - Before Any New Commits Let us quickly review our commit history prior to this post. git commit git log syntax sample Output Output - Image Output - Text Explanation Issuing … Continue reading Git:- Git Commit – Comments – Changing Last Commits

git – commands -list “unpushed” files

Background Let us identify the differences between our local git repository and its GitHub version. Commands   Popular Commands If one Google's on "show unpushed files", the more popular hits will be samples that resemble the one's listed below:- git diff origin/master..HEAD   Command - git diff origin/master..HEAD Command   Output Text Image   Explanation … Continue reading git – commands -list “unpushed” files

GitHub:- Git push – Error Message – “Failed to enumerate credentials. [0x520]”

Background On a couple of Git Repositories, I have been having issues completing "git push" commands.   Error Message Failed to enumerate credentials. [0x520] Image Textual Explanation fatal: Failed to enumerate credentials. [0x520] fatal: A specified logon session does not exist. It may already have been terminated TroubleShooting Outline Git Commands Git Remote Tasks Git … Continue reading GitHub:- Git push – Error Message – “Failed to enumerate credentials. [0x520]”

GitHub:- “Password Authentication is deprecated”

Background Sometimes last week received an email from GitHub.   Email Basic Authentication using a password to Git is deprecated Image Textual Explanation Here is what is conveyed via email:- Repository Name DanielAdeniji/hello Git Client Version git/ Git Client Version Number 2.29.2 OS Version Windows Notice Basic authentication using a password to Git is deprecated … Continue reading GitHub:- “Password Authentication is deprecated”