From 2c75cf5bdf6af50a117b2fce95f1a4df76477102 Mon Sep 17 00:00:00 2001 From: Muhammad Sameer Ali <32276372+msali123@users.noreply.github.com> Date: Sat, 30 Sep 2023 01:04:50 +0500 Subject: [PATCH] Blog - 10 Advanced Git Commands Part2 (#663) * Created new blog, added content, author & editor * Added CTA * Resolved lint warnings and made images wide * Added keywords for internal links * Added header image * Post lint errors * Post lint errors --- .github/styles/HouseStyle/tech-terms/git.txt | 4 +- .../2023-09-28-advanced-git-commands-2.md | 341 ++++++++++++++++++ .../advanced-git-commands-2/8BijHrc.png | Bin 0 -> 27619 bytes .../advanced-git-commands-2/8OLObm9.png | Bin 0 -> 83264 bytes .../advanced-git-commands-2/Ktwgmn5.png | Bin 0 -> 23586 bytes .../advanced-git-commands-2/Vld0GSX.png | Bin 0 -> 36057 bytes .../advanced-git-commands-2/ca6733J.png | Bin 0 -> 280815 bytes .../advanced-git-commands-2/gRSZul3.jpg | Bin 0 -> 19086 bytes .../images/advanced-git-commands-2/header.jpg | Bin 0 -> 249470 bytes .../advanced-git-commands-2/n97KMiO.jpg | Bin 0 -> 40872 bytes .../advanced-git-commands-2/oE08Cxg.png | Bin 0 -> 22008 bytes .../advanced-git-commands-2/pz86Pau.png | Bin 0 -> 35207 bytes .../advanced-git-commands-2/vNDp0lX.jpg | Bin 0 -> 26143 bytes .../advanced-git-commands-2/x0ODzpJ.png | Bin 0 -> 50559 bytes 14 files changed, 344 insertions(+), 1 deletion(-) create mode 100644 blog/_posts/2023-09-28-advanced-git-commands-2.md create mode 100644 blog/assets/images/advanced-git-commands-2/8BijHrc.png create mode 100644 blog/assets/images/advanced-git-commands-2/8OLObm9.png create mode 100644 blog/assets/images/advanced-git-commands-2/Ktwgmn5.png create mode 100644 blog/assets/images/advanced-git-commands-2/Vld0GSX.png create mode 100644 blog/assets/images/advanced-git-commands-2/ca6733J.png create mode 100644 blog/assets/images/advanced-git-commands-2/gRSZul3.jpg create mode 100644 blog/assets/images/advanced-git-commands-2/header.jpg create mode 100644 blog/assets/images/advanced-git-commands-2/n97KMiO.jpg create mode 100644 blog/assets/images/advanced-git-commands-2/oE08Cxg.png create mode 100644 blog/assets/images/advanced-git-commands-2/pz86Pau.png create mode 100644 blog/assets/images/advanced-git-commands-2/vNDp0lX.jpg create mode 100644 blog/assets/images/advanced-git-commands-2/x0ODzpJ.png diff --git a/.github/styles/HouseStyle/tech-terms/git.txt b/.github/styles/HouseStyle/tech-terms/git.txt index dcb75ad4d..bc7964333 100644 --- a/.github/styles/HouseStyle/tech-terms/git.txt +++ b/.github/styles/HouseStyle/tech-terms/git.txt @@ -14,4 +14,6 @@ Checkmarx lfs packagecloud -Packagecloud \ No newline at end of file +Packagecloud + +unstage \ No newline at end of file diff --git a/blog/_posts/2023-09-28-advanced-git-commands-2.md b/blog/_posts/2023-09-28-advanced-git-commands-2.md new file mode 100644 index 000000000..2f3011abf --- /dev/null +++ b/blog/_posts/2023-09-28-advanced-git-commands-2.md @@ -0,0 +1,341 @@ +--- +title: "10 Advanced Git Commands Part2" +categories: + - Tutorials +toc: true +author: Temitope Oyedele +editor: Ubaydah Abdulwasiu + +internal-links: + - advance commands in git + - github commands + - advance git commands + - 10 new git commands +--- + +The last [article](https://earthly.dev/blog/advanced-git-commands/) discussed ten advanced Git commands you should know as a developer. + +In this article, we take a look at ten more advanced commands including bisect, reset, and archive. + +## Git Remote + +[Git remote](https://git-scm.com/docs/git-remote) can be used to list, add, remove, and update remote repositories. Git remote allows you to create shortcuts to remote repositories. These shortcuts are called "remote names". You can use remote names to refer to remote repositories in other Git commands. Think of it as a bookmark to other directories instead of links. The diagram below further explains the git remote. + +
w8W=&I-)aChh(^94w5`7haGTIg4)hiH_8|LIv_9byxp*DKN=WIE&7Hk
z-}>S#a>VFOq-E0+^{*sV9j=<5meY>M )h$Xz
z2pWK`5!rfsa+?9r+6Ewc?B>6SidAky9^-hCF9muQgD_bi->s!Z2b&PJzjxfy^AO`9
zZi9 KdS+0NpQ+dB42CO46c;Ml
z1cf&6NfMRjQccT;{t)mY7O4U>5!YYg_>x&0UX8e0|Bfy7;OgW+C{)aP{`*wDg(`7D
zau8f*d`~eHB+dY@chb1qm{RCE-_s{OR6aUPGofzBGYs3|cPX5fT*C-8819y7zT_%_
zfIx4c9l&0z#Blp0mTl()F9^k@)$@W~Dma{(KNhk5Z|$XHl@->_w73)70i7CJ{TDFt
z)6Un90CKfE+2I0M*y^)>f0BdGV{HS{oIf%FE`|V8QSEIAOa)Lt!Q=t#o=jXr`>85T
zV*hhQ@sG}bdFdyia{v`I10JW)@om%#sXc!uqJmNE0K9tsrIvw2v*@4ZLjGf}+>^Pg
zoX5G&mmR}QkCSFug3L{5Y#lYu-grGg{U~SOD~zQ=R3H&^GZMAkughWkCG2d!AVx(k
z^y!+rx$7ZMv(eg{2eCrj`}taR4tO6$bX#{I5jGawdPTa@=S*A3y#%=V