Skip to content

Commit

Permalink
Create .gitgnore file during initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
junaid1460 committed Dec 17, 2017
1 parent 4232303 commit 57c50ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/functions.precheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ verify_requirements () {
then
touch "$header_file"
fi
if [ ! -f "$gitignore_file" ]
then
touch "$gitignore_file"
echo "$info_temp_name" >> $gitignore_file
echo "$commit_temp_name" >> $gitignore_file
echo "*.save" >> $gitignore_file
echo "*.swp" >> $gitignore_file
fi

commit? "Created requirements!"
}

0 comments on commit 57c50ae

Please sign in to comment.