Skip to content

Instantly share code, notes, and snippets.

View Sawon90's full-sized avatar

Emdadul Hoque Sawon90

View GitHub Profile

Some Basic Command

// Show current directory
$ pwd
// Move to another directory
$ cd path/to/directory
// Show file and folder in current directory
$ ls
$ ls -l // As list with permission
// Copy file

1. Delete remote branch

$ git push origin --delete <branch_name>

2. Store git credential locally

This will store plain credential

  • For specific repository
$ git config credential.helper store
@Sawon90
Sawon90 / Gradle Usefull Commands And Note.md
Last active September 19, 2017 11:42
Gradle: Usefull Commands And Note

1. To output test event to console, add this to your build.gradle file:

test {
    testLogging {
        events "passed", "skipped", "failed", "standardOut", "standardError"
    }
}

2. To output test summary at the end: