Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2ac3dbf

Browse files
feat: added setting remote , branch logic
1 parent 7e5f405 commit 2ac3dbf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎Github-Automation/main.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ def init():
77
info.remove('n')
88
git.init()
99
git.createReadme()
10-
git.add(['README.md'])
10+
git.add(['.'])
1111
git.commit(['README.md'])
12+
git.setBranch(info[1])
13+
git.setremote(info[0])
14+
git.push(info[0] , info[1])
1215
print('initial setup done :)')
1316
filechange.ischanged(info[0] , info[1])
14-
git.push(info[0] , info[1])
1517
else:
1618
print('Retrieving info from git directory')
1719
filechange.ischanged(info[0] , info[1])
1820

1921
if __name__ == '__main__':
20-
init()
22+
init()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /