GitLab:- Snippet Sharing

Background In this post, we will cover how to embed GitLab's code snippets on a web page.   GitLab Snippet - Sharing - Embedding Code Outline Here are some of the options for sharing GitLab code snippets. HTML Script Block Options HTML Script Block Outline Get Embed Code Use Embed Code Render HTML Page Step … Continue reading GitLab:- Snippet Sharing

GitLab:- Snippet Managing

Background In this post, we will cover how to manage snippets in GitLab.   GitLab Snippet Outline Here are the steps for creating a snippet in GitLab. Initiate From the top menu bar, access the Snippets option Snippets Your Snippets Explore Snippets New Snippet - Adding Title Description Files Individual Files Filename Code Snippet Visibility … Continue reading GitLab:- Snippet Managing

GitLab:- Register Account

Background A few posts back spoke on the very minimalist design of GitHub's Snippet functionality. I have been meaning to look into GitLab's support for snippets. But, first, let us register for GitLab.   GitLab Registration Outline Registering for GitLab involves very few steps. Here we go. Register First name Last name Username Email Password … Continue reading GitLab:- Register Account

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

GitHub:- Error – “ssh: connect to host port 22: Connection timed out”

Background Attempting to upload my latest code changes to GitHub, but no go. Error Here are the error messages. Error - Git Push Image Textual TroubleShooting Wanted to see if it was just sending updates that are failing. Let us see what happens with pulling files from GitHub. Git Git Command Line Error - Git … Continue reading GitHub:- Error – “ssh: connect to host port 22: Connection timed out”