All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login


All New Register Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated

uk / shell

0 likes
0 forks
1 files
Last active 2 months ago
1 #!/bin/bash
2
3 git status
4
5 echo
6 read -p "Type 'y' to confirm reset and pull (Enter = yes, n = cancel): " confirm </dev/tty
7
8 # Treat empty input (Enter) as "y"
9 confirm="${confirm:-y}"
Newer Older

Powered by Opengist ⋅ Load: 25ms⋅

日本語
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文