With GIT, a great cheat sheet is more efficient than a long text !
Few easy steps to moving GIT repository content to another repository preserving history
- Fetch all of the remote branches and tags to local index:
git fetch origin
- Create a new remote on local repository
git remote add new-origin email@example.com:vfac/newrepo.git
- To push all local branches a...
During a development, a lot of branches are created on Git for all features or evolutions.
After a certain time, we can have on local machine many branches but some cleaning may be necessary.
For instance, If you want to delete all local branches that are already merged into master, you can use...