dev
List of commits:
Subject Hash Author Date (UTC)
fix merge conflict ab4ee2b9ebbaa6379bdb83664efae5d45c428e5d mucbuc 2020-07-04 18:01:40
cleanup e363a09bd4cf01d773d3725db73f3465c89bb4e7 mucbuc 2020-07-04 17:58:30
wtf f0af08ef01ec498b6d8be8c6ce5704aa616338d4 mucbuc 2020-07-04 17:56:30
tewst 01ae9b15d3a0af828ba5d43c9c76247a7e94d06c mucbuc 2020-07-04 17:53:45
anoter test fc42db84f208b381ccff11305bb8d81aafe6c2e7 mucbuc 2020-07-04 17:10:17
try it abd7fa98a8b10d1ab31c727b4e5cda32779acd43 mucbuc 2020-07-04 17:06:34
test 9f7ddc555012d5a566580179263acd1803935bee mucbuc 2020-07-04 16:20:14
fix 95efd43ca494e81d3f61c0e17d05935f9a89e85a mucbuc 2020-07-04 16:19:20
fix b7e34312fd89e80bfcabd677fac6a84b03b9db11 mucbuc 2020-07-04 16:18:37
trim fe82d46c140168484164e7e0ca8bbde2679af57e mucbuc 2020-07-04 16:17:41
lint ac97ec59ea764b0f61064b368bcfa4bec570f2af mucbuc 2020-07-04 16:16:09
add edge case 5c6d8754ac762d6006ad0adcd95116d0aac25c92 mucbuc 2020-07-04 16:15:37
format ing 402d250add0d4af976751873d41f97c9212d55b7 mucbuc 2020-07-04 16:14:29
format b4b1830c9bda86af70a7094098377073a571e16c mucbuc 2020-07-04 15:50:55
cleanup dcdbf46efc941947f524debeddc000a9659e483c mucbuc 2020-07-04 15:41:28
good stuff 279e81e8f9a627a1331f4933aff3a2bf353eaf87 mucbuc 2020-07-04 05:35:37
better 708ed582f047c343c1cc8b6bec5214d597f3b4ef mucbuc 2020-07-04 05:12:43
try this ac05fe4edecf9349898e2bb940d3be876a25ebe4 mucbuc 2020-07-04 05:09:58
add separate step for linting 87ee1ef308138c72c72ce1b86a1b5cfe7648c22c mucbuc 2020-07-04 04:56:35
test bf37d2ede1d14e091993e6bdf075d8da0e12918c mucbuc 2020-07-04 04:50:29
Commit ab4ee2b9ebbaa6379bdb83664efae5d45c428e5d - fix merge conflict
Author: mucbuc
Author date (UTC): 2020-07-04 18:01
Committer name: mucbuc
Committer date (UTC): 2020-07-04 18:01
Parent(s): e363a09bd4cf01d773d3725db73f3465c89bb4e7
Signer:
Signing key:
Signing status: N
Tree: dc4c993687e8753673701d10599229b6dddc9eaa
File Lines added Lines deleted
pre-commit.js 2 2
File pre-commit.js changed (mode: 100755) (index 7e77be1..5619e51)
... ... const { exec } = require("shelljs"),
5 5 { tryAndRunScript } = require("./base"); { tryAndRunScript } = require("./base");
6 6
7 7 console.log("pre-commit"); console.log("pre-commit");
8 const stagedFiles = exec(`git diff --staged --name-only`).stdout.split("\n"),
8 const stagedFiles = exec(`git diff --staged --name-only`,{silent:true}).stdout.split("\n"),
9 9 hasChanges = stagedFiles.length > 1; hasChanges = stagedFiles.length > 1;
10 10 if (hasChanges) { if (hasChanges) {
11 11 exec("git stash --keep-index -q"); exec("git stash --keep-index -q");
 
... ... for (const step of ["lint", "test"]) {
17 17 } }
18 18 if (hasChanges) { if (hasChanges) {
19 19 exec("git stash pop -q"); exec("git stash pop -q");
20 exec(`git add ${stagedFiles.join(" ")}`);
20 exec(`git add ${stagedFiles.join(" ")}`, {silent:true});
21 21 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/mucbuc/configs

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/mucbuc/configs

Clone this repository using git:
git clone git://git.rocketgit.com/user/mucbuc/configs

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main