Skip to content

Instantly share code, notes, and snippets.

@sumanthkumarc
Created October 18, 2016 07:36
Show Gist options
  • Save sumanthkumarc/3717d70fc8cd09d821f5be158846e490 to your computer and use it in GitHub Desktop.
Save sumanthkumarc/3717d70fc8cd09d821f5be158846e490 to your computer and use it in GitHub Desktop.
Instuctions for creating git repo of new drupal instance[D8]
If it's distribution, let the documentation exists and point your vhost entry to demo folder.
make a .gitignore file from example.gitignore file
check if settings file, files folder and other unnecesary files like *~ are excluded.
do got init to initiliaze a git repo
do git status to see list of files.
add git config username and email
add git remote origin points to push your repo
do commit and push it.
Hola! and you are done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment