InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Category: git

git commit -m vs git commit -am

Naseeb Singhgit, MiscelleneousLeave a Comment on git commit -m vs git commit -am

Why do we use git commit? The git commit command captures a snapshot of the project’s currently staged changes. Committed snapshots can be thought of as “safe” versions of a project—Git will never change them unless you explicitly ask it…

Read More→

Create and Apply git patch between two branches for selected files

Arvind KumargitLeave a Comment on Create and Apply git patch between two branches for selected files

While using git we can create a PR (pull request) to push changes from one git branch into another branch. This is okay if you want to push all changes from one branch into another branch and vice versa Sometimes…

Read More→

Git add a directory to remote repository by origin URL

Arvind KumargitLeave a Comment on Git add a directory to remote repository by origin URL

Following the following steps one can add a folder to existing Github repository. These steps can be and should be followed to add a directory to any git repository, whether it is on Github or Bitbucket or any other server.I…

Read More→

How to Rename Github Repository URL Remotely and Locally

Arvind KumargitLeave a Comment on How to Rename Github Repository URL Remotely and Locally

Sometimes you may need to rename your Github Repository URL for various reasons. We are not going to discuss those various reasons here of course, but in this simple tutorial I will show you how you can rename and update…

Read More→

Git Cannot open .git/FETCH_HEAD: Permission denied Solution

Arvind Kumargit1 Comment on Git Cannot open .git/FETCH_HEAD: Permission denied Solution

Did you face Cannot open .git/FETCH_HEAD: Permission denied when you try to run a git pull command on your site root folder hosted on a linux server running ubuntu? If you do you are at right place for a permanent…

Read More→

How to add or remove cached git credentials on linux server (Ubuntu)

Arvind Kumargit, LinuxLeave a Comment on How to add or remove cached git credentials on linux server (Ubuntu)

This is something I need to do occasionally, that is, to add or remove cached git credentials on a Linux server. To add when you need to set up a git repository for a new project on new server for…

Read More→

How to show the full URL of a Git repository using git command

Arvind KumargitLeave a Comment on How to show the full URL of a Git repository using git command

I pulled a project with from GitHub a long ago. Right now I do not know the full url of the Git repository. I want to look at the full git repository but I guess it will be confusing since…

Read More→

Automatic Deployment of your Git Push to Remote Server

Arvind KumargitLeave a Comment on Automatic Deployment of your Git Push to Remote Server

Step by step deployment of Git Push hook to push changes to my server in a single command I have a ReactJS app setup as a git repo. Every-time I update and push to my currently working dev branch I…

Read More→

How to add or remove a git submodule?

Arvind KumargitLeave a Comment on How to add or remove a git submodule?

While a git sub module could be added with a single line command such as: git submodule add https://github.com/UrlToRepository.git foldernameofrepository it can be cumbersome to remove a submodule. There are various steps involved such as given in the next paragraph.…

Read More→

Remove remote directory from repository after adding it to .gitignore

Arvind KumargitLeave a Comment on Remove remote directory from repository after adding it to .gitignore

I had a directory named sites added to my git repository. As it contained a bootstrap file having names of each new domain in multiple sites setup hosted in the single CakePHP application it contained different domain entries and folders…

Read More→

Posts navigation

1 2 Next
  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • How to Encrypt and Decrypt Data in PHP
  • How to Create a Custom Gutenberg Block in WP (Step-by-Step)
  • How to Create User Roles and Permissions in Laravel 8
  • Creating a Wp Angular Theme for WordPress with Gutenberg
  • Understanding Cookies in PHP

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram