Skip to content

Shkodenko Taras

web development and system administration of Linux

  • PHP Mentorship Program
  • Privacy Policy
  • Security Consulting
  • About

Author: tadmin

Git undo last commit

March 19, 2022March 19, 2022 ~ tadmin

To undo last commit in git you can use the following command below: $ git reset HEAD~

Git show: display commit information

March 8, 2022July 27, 2022 ~ tadmin

To display changes in the particular commit you can use the following command: You can find commit hash using one of the following commands: … or by commit message text: You can also find more information in git show documentation.

MySQL: change table auto increment value

September 4, 2021September 3, 2021 ~ tadmin

If you need to change current value of auto_increment for table you could use the following SQL query:

Git: search commits by message text

Git
September 3, 2021September 3, 2021 ~ tadmin

If you need to find some commits by commit message text you could use the command below:

Pimcore CMS Developer Senior Certification

June 17, 2021July 31, 2022 ~ tadmin

I’ve completed Pimcore CMS Senior Developer Certification.

Composer: how to downgrade to first version

Composer logo
June 15, 2021June 15, 2021 ~ tadmin

To downgrade composer to version 1 the following command should be used:

Make tar archive without .git folder or any other version control systems

May 27, 2021 ~ tadmin

To make tar archive without .git folder or any other version control systems –exclude-vcs option can be used for tar. Example tar command could be:

Git: how to list all the files in a commit

Git
May 27, 2021July 27, 2022 ~ tadmin

To list all the files in a commit use command: To get a commitId use command:

Pimcore CMS Certification

May 20, 2021July 31, 2022 ~ tadmin

Today, I have finally completed my first Pimcore Academy Certification. I really like Pimcore CMS. It is really cool tool to build amazing websites and web applications.

Amend git commit (change the author or message) of the last not pushed commit

Git
December 11, 2020July 27, 2022 ~ tadmin

To change the author or message of the last commit consider using the following commands: or

Posts navigation

Older posts
Newer posts

Support My Work!

Categories

  • Apache
  • CMS
  • Databases
  • Docker
  • Drupal
  • Git
  • Laravel
  • Lean
  • Linux
  • macOs
  • Magento
  • MySQL | MariaDB
  • Nginx
  • PHP
  • Pimcore CMS
  • Plesk
  • PostgreSQL
  • Server configuration
  • Symfony
  • Uncategorized
  • WordPress
  • Yii2
DigitalOcean Referral Badge

Tags

.htaccess Apache archive array bash certificate composer diff docker Drupal ffmpeg git git best practices grep IPTables Laravel Laravel best practices Laravel tips Linux Linux commands Linux file management MySQL mysqldump Odin openssl PHP PHP development Pimcore Plesk PostgreSQL ProFTPD script Security sed shell software development ssh ssl Symfony system administration tar ubuntu web development wordpress zip

Donations

You can support this project if you like what I'm writing

Recent Posts

  • How to Set Up Passwordless SSH Authentication with ssh-copy-id in Linux
  • How to Display a Configuration File Without Empty Lines and Comments in Linux
  • Happy 35-th Birthday, Linux: The Operating System That Changed the World
  • What does sed -n ‘BEGIN,ENDp’ /path/to/file.txt Linux shell command do?
  • PHP 31-th Anniversary — A Quick Look at the Evolution of the Language Code from Version 7.4 to 8.4
  • Gates vs Policies in Laravel: What’s the Difference and When Should You Use Each?
  • How to Create a tar+bzip2 Website Archive While Ignoring VCS Folders (.git and others)

Search

  • GitHub
  • YouTube
  • Telegram
  • Patreon
  • Instagram
  • Pinterest
Buy Me a Coffee at ko-fi.com
Proudly powered by WordPress ~ Theme: Shcom-child by Taras Shkodenko.