Creating a git repository from an existing project: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

9 February 2024

  • curprev 01:3501:35, 9 February 2024Admin talk contribs 966 bytes +1 No edit summary
  • curprev 01:3501:35, 9 February 2024Admin talk contribs 965 bytes −58 No edit summary
  • curprev 01:3401:34, 9 February 2024Admin talk contribs 1,023 bytes +1,023 Created page with " ===creating a git repository from an existing project=== Assuming a project in ~/myproject containing all sorts of files and directories <pre> In the below example we use a local project called 'myproject' and upload it to the git server. - if the existing local 'myproject' isn't initialised with git yet, then do so now: $ git init $ git add . $ git commit -m "initial commit" - clone 'myproject' from your local project into a new local di..."