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

How to insert existing repo into gogs #3983

Closed
dbabits opened this issue Dec 26, 2016 · 4 comments
Closed

How to insert existing repo into gogs #3983

dbabits opened this issue Dec 26, 2016 · 4 comments

Comments

@dbabits
Copy link

dbabits commented Dec 26, 2016

How can I make an existing repo, created outside of gogs appear in gogs?
gogs 0.9.113.1223

@bryant24
Copy link

bryant24 commented Dec 27, 2016

Just update the remote address.
first,remove your remote origin
git remote rm origin

second,add new remote origin address
git remote add origin git@your_gogs_repos_here.com

at last,push your master branch code
git push origin master

Wish it can help you.

@unknwon
Copy link
Member

unknwon commented Dec 27, 2016

You can use migrate repository from local path.

@unknwon unknwon closed this as completed Dec 27, 2016
@CatsNipYummy
Copy link

When we do the above, what's the password? While I setup my git user, I did not provide a password for it. Did anyone have the same problem?

@unknwon
Copy link
Member

unknwon commented Sep 19, 2019

@CatsNipYummy you need first create the first user via web UI, which becomes the admin automatically.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants