Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Halleck45
Last active November 28, 2015 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Halleck45/a7ceaa28fda450ddf4dd to your computer and use it in GitHub Desktop.
Save Halleck45/a7ceaa28fda450ddf4dd to your computer and use it in GitHub Desktop.
Github migration results

## Steps

  • Creation of Halleck45/tmp-migration

  • Creation of README.md with

    # tmp-migration
    fgh
    
  • Transfering to phpmetrics/tmp-migration

  • Editing phpmetrics/tmp-migration README.md file with

    # tmp-migration
    
    VERSION ON NEW REPO
    

## Use case

Executing this command: curl https://raw.githubusercontent.com/halleck45/tmp-migration/master/README.md

Expected:

# tmp-migration

VERSION ON NEW REPO

Got (after 1 minute)*

# tmp-migration
fgh

Got (after 5 minutes):

# tmp-migration

VERSION ON NEW REPO

Conclusion

When repository is transfered, https://raw.* URL are well redirected to new version of file on new repository. Changes are included.

We can use this feature :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment