Skip to content

Instantly share code, notes, and snippets.

View a-kumar's full-sized avatar

Abhishek Kumar a-kumar

  • Indegene Pvt. Ltd.
  • Pune
View GitHub Profile
@a-kumar
a-kumar / mymodule.info
Created September 13, 2012 19:35
Customizing Drupal
name = My Module
description = A description of what your module does.
version = 7.x-1.x-dev
core = 7.x
@a-kumar
a-kumar / git.migrate
Created October 19, 2020 15:00 — forked from niksumeiko/git.migrate
Moving git repository and all its branches, tags to a new remote repository keeping commits history
#!/bin/bash
# Sometimes you need to move your existing git repository
# to a new remote repository (/new remote origin).
# Here are a simple and quick steps that does exactly this.
#
# Let's assume we call "old repo" the repository you wish
# to move, and "new repo" the one you wish to move to.
#
### Step 1. Make sure you have a local copy of all "old repo"
### branches and tags.