Category Archives: git

Re-tagging in Git

1. list all remote tags 2. delete local tag 3. push tag deletion to remote 4. tag local branch again 5. push tag to remote

Posted in git | Comments Off on Re-tagging in Git

Git: Setting Up and Accessing a New Remote Respoitory

Using Backwater as the remote server, su to gitpriv and change into the repo directory. Here there are some top-level repos already, as well has some directories that contain like repos. These include “c-code” and “web.” If creating a repo … Continue reading

Posted in git, Journal | Leave a comment

Git: Revert from Uncommitted Changes

If you want to revert the changes only in current working directory, use

Posted in git | Tagged | Comments Off on Git: Revert from Uncommitted Changes

Install Latest Git on CentOS

Setup RPMForge Repository Disable CentOS Base Repository and Enable RPMForge Extras Add enabled = 0 Change enabled = to 1 Remove Git, update, reinstall get, & verify version.

Posted in git, System Configuration | Tagged , , | Comments Off on Install Latest Git on CentOS

Rollback a File Using Git

Determine the version of the file (.git-include is used in this example) that is needed Checkout that version Note: “lds” is an alias that is defined as: It is just a pretty implementation of the log command. If there is … Continue reading

Posted in git | Comments Off on Rollback a File Using Git

Setting up a local Git using a remote server

Install git Configure git Setup SSH client to use port 2222 Setup SSH to login to the “origin” server without a password. Create source directory Clone Repos

Posted in git, Journal | Comments Off on Setting up a local Git using a remote server

Using Git for DNS and DHCP Config Files

[master (root-commit) a8418bf] Added DNS zone files Committer: root <root@liminf03.motion.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git … Continue reading

Posted in Backups, git, System Configuration | Comments Off on Using Git for DNS and DHCP Config Files