mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
19 lines
337 B
Text
19 lines
337 B
Text
|
title = Ignoring files
|
||
|
|
||
|
[description]
|
||
|
|
||
|
That chicken is running around a lot, and changing often. We don't want to have it in our commits.
|
||
|
|
||
|
Add it to the file .gitignore, and try using `git add .`!
|
||
|
|
||
|
[setup]
|
||
|
|
||
|
touch .gitignore
|
||
|
echo important > important
|
||
|
git add important
|
||
|
git commit -m "Initial commit"
|
||
|
|
||
|
[actions]
|
||
|
|
||
|
echo "$RANDOM" > chicken
|