Composer Session
[psqa@centos7dev drupal8b]$ git status
# On branch 8.x
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .env.example
# modified: .gitignore
# modified: .travis.yml
# modified: LICENSE
# modified: README.md
# modified: composer.json
# modified: drush/Commands/PolicyCommands.php
# modified: drush/README.md
# modified: drush/drush.yml
# modified: drush/sites/self.site.yml
# modified: load.environment.php
# modified: phpunit.xml.dist
# modified: scripts/composer/ScriptHandler.php
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# drp8/
no changes added to commit (use "git add" and/or "git commit -a")
[psqa@centos7dev drupal8b]$ git commit -m "initial commit after composer create-project"
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'psqa@centos7dev.(none)')
[psqa@centos7dev drupal8b]$ git add .env.example
[psqa@centos7dev drupal8b]$ git add .gitignore
[psqa@centos7dev drupal8b]$ git add composer.json
[psqa@centos7dev drupal8b]$ git add drush
[psqa@centos7dev drupal8b]$ git add load.environment.php
[psqa@centos7dev drupal8b]$ git add phpunit.xml.dist
[psqa@centos7dev drupal8b]$ git add scripts/
[psqa@centos7dev drupal8b]$ git commit -m "initial commit"
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'psqa@centos7dev.(none)')
[psqa@centos7dev drupal8b]$ git config --global user.email "accounts@unityconstruct.org"
[psqa@centos7dev drupal8b]$ git config --global user.name UnityConstruct
[psqa@centos7dev drupal8b]$ git commit -m "initial commit"
[8.x 52a4f56] initial commit
10 files changed, 0 insertions(+), 0 deletions(-)
mode change 100644 => 100755 .env.example
mode change 100644 => 100755 .gitignore
mode change 100644 => 100755 composer.json
mode change 100644 => 100755 drush/Commands/PolicyCommands.php
mode change 100644 => 100755 drush/README.md
mode change 100644 => 100755 drush/drush.yml
mode change 100644 => 100755 drush/sites/self.site.yml
mode change 100644 => 100755 load.environment.php
mode change 100644 => 100755 phpunit.xml.dist
mode change 100644 => 100755 scripts/composer/ScriptHandler.php
[psqa@centos7dev drupal8b]$ git push origin master
Username for 'https://github.com': unityconstruct
Password for 'https://unityconstruct@github.com':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/drupal-composer/drupal-project.git/'
[psqa@centos7dev drupal8b]$ git push origin master
Username for 'https://github.com': accounts@unityconstruct.org
Password for 'https://accounts@unityconstruct.org@github.com':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/drupal-composer/drupal-project.git/'
[psqa@centos7dev drupal8b]$ git remote -v
origin https://github.com/drupal-composer/drupal-project.git (fetch)
origin https://github.com/drupal-composer/drupal-project.git (push)
[psqa@centos7dev drupal8b]$ git remote --help
[psqa@centos7dev drupal8b]$ git remote --help
[psqa@centos7dev drupal8b]$ git remote -v
origin https://github.com/drupal-composer/drupal-project.git (fetch)
origin https://github.com/drupal-composer/drupal-project.git (push)
[psqa@centos7dev drupal8b]$ git remove^C
[psqa@centos7dev drupal8b]$ git remove https://github.com/drupal-composer/drupal-project.git
git: 'remove' is not a git command. See 'git --help'.
Did you mean this?
remote
[psqa@centos7dev drupal8b]$ git -rm https://github.com/drupal-composer/drupal-project.git
Unknown option: -rm
usage: git [--version] [--help] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
[psqa@centos7dev drupal8b]$ git remote --help
[psqa@centos7dev drupal8b]$ git remote remove https://github.com/drupal-composer/drupal-project.git
error: Could not remove config section 'remote.https://github.com/drupal-composer/drupal-project.git'
[psqa@centos7dev drupal8b]$ sudo git remote remove https://github.com/drupal-composer/drupal-project.git
[sudo] password for psqa:
error: Could not remove config section 'remote.https://github.com/drupal-composer/drupal-project.git'
[psqa@centos7dev drupal8b]$ git status
# On branch 8.x
# Your branch is ahead of 'origin/8.x' by 1 commit.
# (use "git push" to publish your local commits)
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .travis.yml
# modified: LICENSE
# modified: README.md
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# drp8/
no changes added to commit (use "git add" and/or "git commit -a")
[psqa@centos7dev drupal8b]$ git remote --help
[psqa@centos7dev drupal8b]$ git remote --help
[psqa@centos7dev drupal8b]$ git remote -v
origin https://github.com/drupal-composer/drupal-project.git (fetch)
origin https://github.com/drupal-composer/drupal-project.git (push)
[psqa@centos7dev drupal8b]$ git remote remove origin
[psqa@centos7dev drupal8b]$ git remote -v
[psqa@centos7dev drupal8b]$ git remote add origin https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git
[psqa@centos7dev drupal8b]$ git remote -v
origin https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git (fetch)
origin https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git (push)
[psqa@centos7dev drupal8b]$ git push origin master
Password for 'https://unityconstruct@bitbucket.org':
error: src refspec master does not match any.
error: failed to push some refs to 'https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git'
[psqa@centos7dev drupal8b]$ git remote -v
origin https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git (fetch)
origin https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git (push)
[psqa@centos7dev drupal8b]$ git push origin master
Password for 'https://unityconstruct@bitbucket.org':
error: src refspec master does not match any.
error: failed to push some refs to 'https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git'
[psqa@centos7dev drupal8b]$ git status
# On branch 8.x
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .travis.yml
# modified: LICENSE
# modified: README.md
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# drp8/
no changes added to commit (use "git add" and/or "git commit -a")
[psqa@centos7dev drupal8b]$ git push --all origin
Password for 'https://unityconstruct@bitbucket.org':
Counting objects: 718, done.
Compressing objects: 100% (358/358), done.
Writing objects: 100% (718/718), 200.08 KiB | 0 bytes/s, done.
Total 718 (delta 305), reused 710 (delta 304)
remote: Resolving deltas: 100% (305/305), done.
remote:
remote: Create pull request for 8.x:
remote: https://bitbucket.org/unityconstruct/drupal856.2018/pull-requests/new?source=8.x&t=1
remote:
To https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git
* [new branch] 8.x -> 8.x
Updated httpd.conf for /var/www/drupalc
[psqa@centos7dev drupalc]$ git commit -a
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .editorconfig
# .gitattributes
# composer.lock
# composer.phar
# web/
nothing added to commit but untracked files present (use "git add" to track)
[psqa@centos7dev drupalc]$ git add web
[psqa@centos7dev drupalc]$ ls
composer.json composer.phar LICENSE phpunit.xml.dist scripts web
composer.lock drush load.environment.php README.md vendor
[psqa@centos7dev drupalc]$ git status
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: web/.csslintrc
# new file: web/.editorconfig
# new file: web/.eslintignore
# new file: web/.eslintrc.json
# new file: web/.gitattributes
# new file: web/.ht.router.php
# new file: web/.htaccess
# new file: web/autoload.php
# new file: web/index.php
# new file: web/modules/.gitkeep
# new file: web/profiles/.gitkeep
# new file: web/robots.txt
# new file: web/sites/default/default.services.yml
# new file: web/sites/default/default.settings.php
# new file: web/sites/development.services.yml
# new file: web/sites/example.settings.local.php
# new file: web/sites/example.sites.php
# new file: web/themes/.gitkeep
# new file: web/update.php
# new file: web/web.config
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .editorconfig
# .gitattributes
# composer.lock
# composer.phar
[psqa@centos7dev drupalc]$ git commit -a -m "add /web to project"
[master b268a3c] add /web to project
20 files changed, 1758 insertions(+)
create mode 100644 web/.csslintrc
create mode 100644 web/.editorconfig
create mode 100644 web/.eslintignore
create mode 100644 web/.eslintrc.json
create mode 100644 web/.gitattributes
create mode 100644 web/.ht.router.php
create mode 100644 web/.htaccess
create mode 100644 web/autoload.php
create mode 100644 web/index.php
create mode 100644 web/modules/.gitkeep
create mode 100644 web/profiles/.gitkeep
create mode 100644 web/robots.txt
create mode 100644 web/sites/default/default.services.yml
create mode 100644 web/sites/default/default.settings.php
create mode 100644 web/sites/development.services.yml
create mode 100644 web/sites/example.settings.local.php
create mode 100644 web/sites/example.sites.php
create mode 100644 web/themes/.gitkeep
create mode 100644 web/update.php
create mode 100644 web/web.config
[psqa@centos7dev drupalc]$ git remote --help
[psqa@centos7dev drupalc]$ git push --help
[psqa@centos7dev drupalc]$ git remote -v
origin https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git (fetch)
origin https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git (push)
[psqa@centos7dev drupalc]$ git push origin master
Password for 'https://unityconstruct@bitbucket.org':
Counting objects: 25, done.
Compressing objects: 100% (21/21), done.
Writing objects: 100% (24/24), 25.05 KiB | 0 bytes/s, done.
Total 24 (delta 2), reused 0 (delta 0)
To https://unityconstruct@bitbucket.org/unityconstruct/drupal856.2018.git
228800c..b268a3c master -> master
[psqa@centos7dev drupalc]$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .editorconfig
# .gitattributes
# composer.lock
# composer.phar
nothing added to commit but untracked files present (use "git add" to track)