Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Friday 30 July 2021

How to rebase and merge in master or other branch in git?

Simple way to rebase and merge the branch into other branch/master in git is going to explain by some steps:

1. Go to your Branch. // which you want to merge... in Git bash

2. git rebase master_branch_name // underline word will be your master or other branch where you want to upload.

This rebase will push your commits to top of the master/other branch..

3. Then pull and push the code by git desktop software.

4. Then go to the master or head branch (git checkout branch name)

5. git merge your_branchname  // underline word will be your lower branch name.


Note: If have any suggestions or issue regarding 'How to rebase and merge in master or other branch in git?' then you can ask by comments. 

How to point the branch changes to Acquia by Git?

Simple way to push the branch changes to Acquia Box(environment):
1. Go to the Acquia account click on box(there you want to point the branch changes) and follow the image instructions:


afterthat it will automatically sync your files related changes to box.

2. Go to the project folder or docroot and open cmd terminal and run the command.
drush sa  // for print all project aliases or environments/boxes of acquia
Then
Take the alias of box where you want to point the config changes..
drush @alias cim  //for point config changes

3 If you want to create the reset password for new or already exist box link:
drush @alias uli  //for reset password link

Note: If have any suggestions or issue regarding 'How to point the branch changes to Acquia by Git?' then you can ask by comments. 

Monday 14 June 2021

Create and move to New branch in Git.

 We are going to explain with some steps..

Git Bash process..

1. 'git checkout' // from current branch.

2. 'git checkout postlaunch_qa'  //You can rename underline area, from where you get the branch data.

3. git pull

Cmd process..

  • mysql -u drupal -p cvent < dev-cvent.sql // Run the fresh database here. (dev-cvent.sql this will be on root)  [optional - not every time required]

  • drush cr  //for clear cache

  • drush cim  //for config import changes.

4. 'git branch --all'  // for get all branches. (optional)

5. 'git branch <new branch name>' // for create new branch for new work.

6. 'git checkout <new branch name>' //for checkout that branch

After this process For login/reset password:

drush uli  // run this command and will return  kind of url:

'/en/cms/reset/1/1627312926/saMxys3WxEQ2I8DowhnRIhEYbxNdkc3yVuhwj9DQ33c/login'

put this on url website url and it will redirect to reset password for login.

Note: If have any suggestions or issue regarding 'Create and move to New branch in Git.' then you can ask by comments. 

How to resolve max execution time error in drupal ?

When you found error regarding 'max_execution_time' exceed, then you can follow steps for resolve this error: Steps:   You can put t...