File: 128-empty-file

package info (click to toggle)
git-delta 0.18.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,452 kB
  • sloc: sh: 751; makefile: 117
file content (15 lines) | stat: -rwxr-xr-x 163 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash


repo=$(mktemp -d)
cd $repo

git init
git commit --allow-empty -m "Initial commit"

touch file

git add file
git commit -m "Initial commit"

git show