mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-09-06 16:14:21 +02: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
|