Skip to content

Commit

Permalink
commit first
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-fsn committed Sep 4, 2024
1 parent 5e36b8c commit c03f47d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inspector/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ def push_path(path: str | os.PathLike, msg: str):
repo = get_repo()
changes = repo.untracked_files + repo.index.diff(None)
if changes:
origin = repo.remote(name="origin")
origin.pull(strategy_option="ours")
repo.index.add(path)
repo.index.commit(msg)
origin = repo.remote(name="origin")
origin.pull(strategy_option="ours")
origin.push()


Expand Down

0 comments on commit c03f47d

Please sign in to comment.