Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Git

By editor , 10 June, 2016

Git - Ignore Files, Directories, Permissions

Tags

  • Shell
  • Server
  • Git

1 Ignore files And Folders using .gitignore Files (Include and/or Exclude)

Create the gitignore file at the top of your repository,i f it's not already exist

By editor , 16 February, 2016

Create and Apply Patches using GIT DIFF and APPLY

Tags

  • Shell
  • Git

Create Patch:
git diff PATH/TO/SOURCE.php > PATH/SAVE_patch.diff

Apply patch
git apply PATH/SAVE_patch.diff

By editor , 3 February, 2016

Make Correction on a git

Tags

  • Shell
  • Git
  • Server

1. Remove Files

Step 1. Switch to your branch
Strp 2. Remove files using -rm command
Ex :  git rm -r sites/all/modules/stage_file_proxy
Step 3. Add this file to the .gitignore

By editor , 28 January, 2016

Git - Include and Exclude by .gitignore

Tags

  • Git
  • Server
  • Shell

Ignore files and folders using .gitignore

Example 1. Ignore (Exclude) a simple file or a folder
sites/default/settings.php
sites/*/files

By editor , 6 January, 2016

Git - Create new branche, push and merge

Tags

  • Git
  • Code

git checkout -b // TO TEST


git branch <branche>  // TO TEST

By editor , 16 November, 2015

Helpful git commands

Tags

  • Git
  • Code

#Download / Get git repository
git clone http://url-of-your-git/project.git

#Show remore url
git remote -v

Pagination

  • Previous page
  • 2
Git

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer