User Tools

Site Tools


hosted_git_repos_-_gitea_on_sdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hosted_git_repos_-_gitea_on_sdf [2022/02/05 14:09] – [Create A New Repo] jquahhosted_git_repos_-_gitea_on_sdf [2024/09/04 19:12] (current) – “+” hc9
Line 3: Line 3:
 Gitea is a web-based git hosting service that like GitHub, Gitlab, or BitBucket. SDF provides its own installation located at [[https://git.sdf.org]]. Gitea is a web-based git hosting service that like GitHub, Gitlab, or BitBucket. SDF provides its own installation located at [[https://git.sdf.org]].
  
-For advanced users here is how to [[access SDF gitea using ssh keys]]+For advanced users here is how to [[access_sdf_gitea_using_ssh_keys |access SDF gitea using ssh keys]]
  
-This tutorial is pretty basic and doesn't cover what is in the [[scmgit-intro]].+This tutorial is pretty basic and doesn't cover what is in the [[scmgit-intro |GIT SCM Introduction]].
  
 ====== Getting Started ====== ====== Getting Started ======
Line 15: Line 15:
 ===== Create an Account ===== ===== Create an Account =====
  
-  - become a [[http://sdf.org/?join#meta|MetaARPA]] member+  - become a [[http://sdf.org/?join#meta |MetaARPA]] member
   - email membership to request an account   - email membership to request an account
   - wait for the welcome email with your randomly-generated Gitea password   - wait for the welcome email with your randomly-generated Gitea password
-  - log in to [[http://git.sdf.org|git.sdf.org]] using the credentials provided in the welcome email+  - log in to [[http://git.sdf.org |git.sdf.org]] using the credentials provided in the welcome email
  
 ==== Create A New Repo ==== ==== Create A New Repo ====
  
-  * click the "+in the upper left+  * click the +” in the upper left
   * choose //New Repository//   * choose //New Repository//
   * name the repo and provide additional data   * name the repo and provide additional data
   * decide if this is to be a private or public repo   * decide if this is to be a private or public repo
   * follow the instructions presented after the action chosen has been completed   * follow the instructions presented after the action chosen has been completed
 +  * on the gitea page for your new project, click the copy button on the other side of the text box that has the options [HTTP] and [SSH]. The text box has the clone address for your new project
 +  * back in SDF shell, find a place to keep your gitea projects, and in that folder enter:''git clone <URL>'' It will ask you to log in, then it will connect your local folder git with your repo. 
 +  * Put any files you make for the project in that folder, then:
 +    * add them with ''git add <file>''
 +    * commit those changes with ''git commit''
 +    * push those changes up to your repo with ''git push''
 +    * continue!
  
 ==== Migrate An Existing Repo ==== ==== Migrate An Existing Repo ====
Line 32: Line 39:
 (//e.g., one currently living on GitHub//) (//e.g., one currently living on GitHub//)
  
-  * login with your new account +  * click the +” in the upper left
-  * click the "+in the uppler left+
   * choose //Migrate Repository//   * choose //Migrate Repository//
   * in the next screen, provide the repo URL (e.g., //GitHub//) to migrate over   * in the next screen, provide the repo URL (e.g., //GitHub//) to migrate over
   * follow the instructions presented after the action chosen has been completed   * follow the instructions presented after the action chosen has been completed
  
 +==== Troubleshooting ====
 +
 +SSH and Gitea – note that Gitea's ssh port is ''2222'': [[access_sdf_gitea_using_ssh_keys |access sdf gitea using ssh keys]]
  
 ====== Next Steps to Enlightemment ====== ====== Next Steps to Enlightemment ======
  
-  * [[scmgit-intro|learn git]]!+  * [[scmgit-intro |learn git]]!
   * start hacking!   * start hacking!
   * explore existing projects, //fork// one   * explore existing projects, //fork// one
   * create your project or team!   * create your project or team!
-  * //[[https://docs.gitea.io/en-us/|Official Gitea Docs]]//+  * //[[https://docs.gitea.io/en-us/ |Official Gitea Docs]]//
  
hosted_git_repos_-_gitea_on_sdf.1644070155.txt.gz · Last modified: 2022/02/05 14:09 by jquah