<?xml version="1.0"?>
<oembed><version>1.0</version><provider_name>Alex's Arsenal (Shop)</provider_name><provider_url>https://aleksanderbekasov24.thkit.ee/wp</provider_url><author_name>admin</author_name><author_url>https://aleksanderbekasov24.thkit.ee/wp/blog/author/admin/</author_url><title>Git CMD Configuration: - Alex's Arsenal (Shop)</title><type>rich</type><width>600</width><height>338</height><html>&lt;blockquote class="wp-embedded-content" data-secret="BrRFybncmx"&gt;&lt;a href="https://aleksanderbekasov24.thkit.ee/wp/git-cmd-kasurida/"&gt;Git CMD Configuration:&lt;/a&gt;&lt;/blockquote&gt;&lt;iframe sandbox="allow-scripts" security="restricted" src="https://aleksanderbekasov24.thkit.ee/wp/git-cmd-kasurida/embed/#?secret=BrRFybncmx" width="600" height="338" title="&#x201C;Git CMD Configuration:&#x201D; &#x2014; Alex's Arsenal (Shop)" data-secret="BrRFybncmx" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"&gt;&lt;/iframe&gt;&lt;script&gt;
/*! This file is auto-generated */
!function(d,l){"use strict";l.querySelector&amp;&amp;d.addEventListener&amp;&amp;"undefined"!=typeof URL&amp;&amp;(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&amp;&amp;!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i&lt;o.length;i++)o[i].style.display="none";for(i=0;i&lt;a.length;i++)s=a[i],e.source===s.contentWindow&amp;&amp;(s.removeAttribute("style"),"height"===t.message?(1e3&lt;(r=parseInt(t.value,10))?r=1e3:~~r&lt;200&amp;&amp;(r=200),s.height=r):"link"===t.message&amp;&amp;(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&amp;&amp;n.host===r.host&amp;&amp;l.activeElement===s&amp;&amp;(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r&lt;s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document);
//# sourceURL=https://aleksanderbekasov24.thkit.ee/wp/wp-includes/js/wp-embed.min.js
&lt;/script&gt;
</html><description>git config &#x2013;global user.name &#x201C;Aleksander Bekasov&#x201D; git config &#x2013;global user.email &#x201C;alekbekasov@&#x2026;&#x201D; Configuration Check: git config user.namegit config user.emailgit config --global --list Cloning a Git Repository: git clone O:TARGV24tund1Git Check User Status: git status Creating a Branch / Creating a New Branch: git branch AleksanderB Switching Branches: git checkout AleksanderB Deleting a Branch: git branch -d IrinaM Adding Files: git add . Committing Changes with a Comment: git commit -a -m &#x201C;name added&#x201D; Uploading Changes to the Server: git pushgit push --set-upstream origin AleksanderB Pull the file added later from the server: git pull origin main Creating a New Repo: git init &#x201C;repoName&#x201D; GitHub Book Link: Git Book Initialize Git in the Current Folder: git init Set the Username for the Current Repository: git config user.name Stage All New, Modified, and Deleted Files: git add -A Check the Compact Version of the Status for Repository: git status --short Commit the Updated Files Directly (Skip Staging): git commit -a -m "New line" View the Commit History for the Repository: git log Show Possible Options for the status Command in Command Line: git status --help Show All Git Commands in the Command Line: git help --all Create a New Branch Called hello-world: git branch hello-world List Existing Branches: git branch Switch to the hello-world Branch: git checkout hello-world Create and Switch to a New Branch Named hello: git checkout -b hello Merge the hello-you Branch with the Current Branch: git merge hello-you Remove the hello-you Branch from the Local Repository: git branch -d hello-you Add a Remote Repository as an Origin: git remote add origin https://github.com/x/y.git pull is a Combination of: Fetch All Change History from the Origin for This Branch: git fetch origin Merge the Current Branch with the master Branch on Origin: git merge origin/master Update the Current Branch from Its Origin Using a Single Command: git pull origin Push the Current Branch to Its Default Remote origin: git push origin List All Local and Remote Branches of the Current Git: git branch -a List Only Remote Branches of the Current Git: git branch -r Clone the Repository https://abc.com/x/y.git to Your Local Git: git clone https://abc.com/x/y.git Clone the Repository https://abc.com/x/y.git to a Folder Named &#x201C;newlife&#x201D;: git clone https://abc.com/x/y.git newlife Rename the origin Remote to upstream: git remote rename origin upstream In .gitignore, Add a Line to Ignore All .temp Files: *.temp In .gitignore, Add a Line to Ignore All Files in Any Directory Named temp: temp/ In .gitignore, Add a Single Line to Ignore All Files Named temp1.log, temp2.log, and temp3.log: temp?.log In .gitignore, Ignore All .log Files Except main.log: *.log!main.log Add a New Remote Named ssh-origin Connecting to x/y.git on abc.com Using SSH: git remote add ssh-origin git@abc.com:x/y.git Replace the Remote URL for origin with x/y.git on abc.com Using SSH: git remote set-url origin git@abc.com:x/y.git Show the Log of the Repository, Showing Just 1 Line per Commit: git log --oneline Revert the Latest Commit: git revert HEAD Revert the Latest Commit, Skipping the Commit Message Editor: git revert HEAD --no-edit Revert the Two Last Commits: git revert HEAD~1 Reset to the Commit with the Hash abc1234: git reset abc1234 Amend the Previous Commit with the Message &#x201C;Updated index&#x201D;: git commit --amend -m "Updated index"</description></oembed>
