Skip to content

Instantly share code, notes, and snippets.

@kjugk
kjugk / git_cheat_sheet.md
Last active March 6, 2023 01:59
#git Git command cheatsheet

現在のブランチ名を表示

git branch --show-current

リモート branch を local に pull する

git branch new_branch_name origin/new_branch_name
@kjugk
kjugk / AtCoder_strandard_input.md
Last active March 23, 2023 02:23
AtCoder で標準入力を処理する (Ruby)

整数

n = gets.to_i

スペース区切りの整数

a, b, c = gets.split.map(&:to_i)