Skip to content

A migrating tools from git repository to git repository with specific directory

Notifications You must be signed in to change notification settings

nabeken/git2git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

MOTIVATION TO CREATE THIS TOOL
==============================

I need a new repository which contains specific directories with history in existing repository.
I make this tool.

HOW TO USE git2git
==================

 $ cd git/existingrepository.git
 $ git2git.sh ${directory to migrate} ${branchname to save new commit object}
 $ git branch
${branchname to save new commit object}
* master
 $ cd ..
 $ mkdir newrepo
 $ cd newrepo
 $ git init
 $ git fetch ../existingrepository.git ${branchname to save new commit object} master
 $ git co -b master FETCH_HEAD

About

A migrating tools from git repository to git repository with specific directory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages