π Table of Contents
π Overview
An easy to use CLI to transfert Go projects to an other git repository
π¦ Features
Phoenix allows you to revive a Go project that has changed Git repository.
Phoenix will modify your Go files to use the new module name.
π Repository Structure
βββ phoenix/
βββ LICENSE
βββ cmd/
β βββ root.go
βββ go.mod
βββ go.sum
βββ main.go
βββ pkg/
βββ phoenix/
βββ phoenix.go
βββ utils.go
π Getting Started
π§ Installation
- Clone the phoenix repository:
git clone https://github.com/CamilleLange/phoenix
- Change to the project directory:
cd phoenix
- Install the dependencies:
go build -o phoenix
π€ Running phoenix
./phoenix -h
π€ Contributing
Contributions are always welcome! Please follow these steps:
- Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project.
- Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop.
- Create a new branch with a descriptive name (e.g.,
new-feature-branch
or bugfix-issue-123
).
git checkout -b new-feature-branch
- Make changes to the project's codebase.
- Commit your changes to your local branch with a clear commit message that explains the changes you've made.
git commit -m 'Implemented new feature.'
- Push your changes to your forked repository on GitHub using the following command
git push origin new-feature-branch
- Create a new pull request to the original project repository. In the pull request, describe the changes you've made and why they're necessary.
The project maintainers will review your changes and provide feedback or merge them into the main branch.
π License
This project is licensed under the βΉοΈ LICENSE-TYPE
License. See the LICENSE-Type file for additional info.