Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export and import to github, gitlab or pagure. #2473

Closed
catafest-work opened this issue Apr 13, 2023 · 1 comment
Closed

Export and import to github, gitlab or pagure. #2473

catafest-work opened this issue Apr 13, 2023 · 1 comment

Comments

@catafest-work
Copy link

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I want to export my project to GitHub , GitLab or Pagure , also will be great to import from my accounts from github, gitlab or pagure.

Describe the solution you'd like

A clear and concise description of what you want to happen.
Will be great if you can create a gui for export the project to github, gitlab or pagure.
I don't know your project but this cannot be very difficult if you create this big project.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.
Basically, the solution is to use these steps:
Create a new GitHub repository.
Open your StackBlitz project and go to File > Download Project. This will download a .zip file of your project.
Extract the contents of the .zip file to a local folder.
Initialize a new Git repository in that folder using the command git init.
Add the contents of the folder to the Git repository using the command git add ..
Commit the changes using the command git commit -m "Initial commit".
Add your GitHub repository as a remote using the command git remote add origin , where is the URL of your GitHub repository.
Push the code to GitHub using the command git push -u origin master.

Additional context

Add any context or screenshots about the feature request here.

@kc0tlh
Copy link
Collaborator

kc0tlh commented Aug 23, 2023

For years we've had a partial git integration in our Classic Editor. It had a number of issues and inconsistencies that you can read all about in all of the linked issues on this thread if you're so inclined.

image

Thankfully, all of that has now changed...

Full Github.com integration is now available in our new VS Code editor! You can check out the getting started guide for more tips on working with Github repos in this new environment.

image

You can use git from the GUI or Terminal as shown below:
image

You can also import github repos by simply adding pr.new/ in front of the repo URL.

@kc0tlh kc0tlh closed this as completed Aug 23, 2023
This was referenced Aug 23, 2023
This was referenced Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants