• Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us
TecAdmin
Menu
  • Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us

Category: GIT

20 November 2019

How to ignore file permission changes in git

Written by Rahul
Rahul
Git also tracks the permissions (chmod) of the files. If you have changed the file permissions, git will show you as modified files. Mostly the Linux users face this issue while securing their application by changing file permissions. You can configure your git to ignore file permissions changes using the following command. git config...
Read More about How to ignore file permission changes in git
GIT Leave a Comment
23 March 2019

How to Clone Specific Git Branch from Remote Repository

Written by Rahul
Rahul
This tutorial will help you to clone a specific git branch from the remote git repository via command line. Syntax: You need to specify the branch name with -b command switch. Here is the syntax of the command to clone the specific git branch. git clone -b <BRANCH_NAME> <GIT_REMOTE_URL> Example: The following command will...
Read More about How to Clone Specific Git Branch from Remote Repository
GIT 1 Comment
05 February 2019

How to Rename Local and Remote Git Branch

Written by Rahul
Rahul
This tutorial will help you to rename a local git repository branch. Also, you can apply the same changes on the remote git repository. Rename Local Git Branch You can use -m option to rename a git branch. To rename the currently active branch just execute the following command with a new branch name....
Read More about How to Rename Local and Remote Git Branch
GIT 1 Comment
27 June 2017

How to Setup Commit Username and Email for Git

Written by Rahul
Rahul
Git client added an identity to each commit. For this Git uses an username and email address to associate with the commit. This name and email change will apply for future commits only. Setup git username for a single repository Open Terminal and use the following commands to set Git username and email address...
Read More about How to Setup Commit Username and Email for Git
GIT Leave a Comment
15 March 2017

How to Delete Commit History in Github

Written by Rahul
Rahul
This tutorial will help you to delete commit history from your local git repository and remote git repository hosted on Github, Gitlab, Bitbucket or any other git hosting. In this repository, you will remove the local master branch and create a new master branch. Finally, push changes to the remote git repository. Delete Commit...
Read More about How to Delete Commit History in Github
GIT 10 Comments
09 September 2016

How to List Remote Branches in Git

Written by Rahul
Rahul
This tutorial will help you to list remote branches available on the remote git repository. It is helpful you to find names of branches, which have been created on the remote repository by someone and you want to check out this on your local repository. Method 1: Fetch Remote Tracking Branches Firstly run git...
Read More about How to List Remote Branches in Git
GIT 2 Comments
09 September 2016

How to Checkout Remote Git Branch

Written by Rahul
Rahul
This tutorial will help you to check out a remote git branch that is not available on the local git repository. Use command git branch to list local branches available. Git Checkout Remote Branch Now use command git branch -a to list all available branches on local and remote git repository. After that run...
Read More about How to Checkout Remote Git Branch
GIT Leave a Comment
05 January 2016

How To Install Git 2.23 on Ubuntu 18.04 & 16.04 LTS

Written by Rahul
Rahul
Git version 2.23 is available under git official PPA. It is a free and open-source distributed version control system . Git 2.23 comes with a large number of updates versus the previous release. It is designed to handle small to very large projects with speed and efficiency. To know more about Git 2.23 read...
Read More about How To Install Git 2.23 on Ubuntu 18.04 & 16.04 LTS
GIT 4 Comments
04 January 2016

How to Install Git 2.23 on CentOS/RHEL 7/6, Fedora 30-25

Written by Rahul
Rahul
Git has released 2.23 version on Aug 12, 2019. Git is a free and open-source distributed version control system. It is designed to handle small to very large projects with speed and efficiency. To read more details and changes about Git 2.23 read release notes. If you are using a Git repository for your...
Read More about How to Install Git 2.23 on CentOS/RHEL 7/6, Fedora 30-25
GIT 21 Comments
30 November 2015

How to Force Overwrite Local Files on Git Pull

Written by Rahul
Rahul
Using Git pull, we download latest changes from Git remote repository to local repository code. During this process, we faced issues many times due to local changes. Then we need to force overwrite any local changes and update all files from remote repository. Important :- All the local changes will be lost. Any local...
Read More about How to Force Overwrite Local Files on Git Pull
GIT Leave a Comment
1 2 Next →

Popular Posts

  • How to Install Python 3.8 on Ubuntu, Debian and LinuxMint
  • How to Restart Network Service on CentOS 8 or RHEL 8
  • How to Check IP Address on CentOS 8
  • How to Install Java 11/8 on Amazon Linux
  • How to Configure Static IP on CentOS 8 (CLI)
Copyright © 2013-2019 TecAdmin.net. All Rights Reserved. This site uses cookies. By using this website you agree with our term and services
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkNo
Revoke cookies