Configure git
This commit is contained in:
parent
6eab549d8a
commit
c76200e4a6
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ module Git
|
|||
@path = Dir.mktmpdir
|
||||
|
||||
git 'init'
|
||||
git 'branch', '-m', 'main'
|
||||
git 'config', 'user.name', 'Test User'
|
||||
git 'config', 'user.email', 'test@example.com'
|
||||
end
|
||||
|
||||
def file_in_tree(name, content)
|
||||
|
|
Loading…
Add table
Reference in a new issue