18 lines · 245 B · Shell
RawDownload
#!/bin/bashset -eu -o pipefail git init -q cat <<EOF >.git/info/exclude# a sample .git/info/excludefile-anywhere/file-from-top dir-anywhere//dir-from-top subdir-anywhere/filesubdir-anywhere/dir/EOF git commit --allow-empty -m "init"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t